From: SourceForge.net <no...@so...> - 2005-09-28 19:27:10
|
Support Requests item #1306968, was opened at 2005-09-28 15:34 Message generated for change (Settings changed) made by kal_ahmed You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=1306968&group_id=27895 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Pending Priority: 5 Submitted By: Maximilian Schwinger (schwingm) Assigned to: Nobody/Anonymous (nobody) Summary: tologx/query-engine - probs with value-like Initial Comment: I try to perform a value-like - query. Therefore I wanted to register a FullTextIndex. My Problem: How can I do this: At first I need an IndexProvider, which I can initialise with my topicMap. After that I have to register the IndexProvider in the TopicMap's IndexManager. How can I get an IndexProvider? ---------------------------------------------------------------------- >Comment By: Kal Ahmed (kal_ahmed) Date: 2005-09-28 20:27 Message: Logged In: YES user_id=176992 You need to instantiate the class org.tm4j.topicmap.memory.index.LuceneFullTextIndexProvider, and then pass that instance into the registerIndexProvider method on the IndexManager. Note that you need to pass a Properties instance in to the constructor of the LuceneFullTextIndexProvider. The properties that are recognised are documented in the class org.tm4j.topicmap.index.text.LuceneIndexBase ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=391880&aid=1306968&group_id=27895 |