net.ontopia.topicmaps.query.spi
Class LuceneSearcher

java.lang.Object
  extended by net.ontopia.topicmaps.query.spi.AbstractSearcher
      extended by net.ontopia.topicmaps.query.spi.LuceneSearcher
All Implemented Interfaces:
SearcherIF

public class LuceneSearcher
extends AbstractSearcher

EXPERIMENTAL: Lucene searcher implementation.


Field Summary
 
Fields inherited from class net.ontopia.topicmaps.query.spi.AbstractSearcher
moduleURI, parameters, predicateName, topicmap
 
Fields inherited from interface net.ontopia.topicmaps.query.spi.SearcherIF
ITEM_IDENTIFIER, OBJECT_ID, OBJECT_VALUE, OCCURRENCE_URI, STRING_VALUE, SUBJECT_IDENTIFIER, SUBJECT_LOCATOR
 
Constructor Summary
LuceneSearcher()
          PUBLIC: The mandatory default constructor.
 
Method Summary
 SearchResultIF getResult(java.lang.String query)
          PUBLIC: Returns the String value of the field.
 int getValueType()
          PUBLIC: Returns type of values returned by the search result.
 
Methods inherited from class net.ontopia.topicmaps.query.spi.AbstractSearcher
setModuleURI, setParameters, setPredicateName, setTopicMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSearcher

public LuceneSearcher()
PUBLIC: The mandatory default constructor.

Method Detail

getValueType

public int getValueType()
Description copied from interface: SearcherIF
PUBLIC: Returns type of values returned by the search result. See constants declared in this class.


getResult

public SearchResultIF getResult(java.lang.String query)
Description copied from interface: SearcherIF
PUBLIC: Returns the String value of the field. Note that null is returned if the field has a reader set.



Copyright © 2000-2012 Ontopia.