net.ontopia.infoset.fulltext.core
Interface SearcherIF

All Known Implementing Classes:
FulltextIndexManager, LuceneSearcher, RDBMSSearcher

public interface SearcherIF

INTERNAL: Represents a search engine. Instances of this class are able to perform searches across a collection of documents.


Method Summary
 void close()
          INTERNAL: Releases resources associated with this searcher.
 SearchResultIF search(java.lang.String query)
          INTERNAL: Performs a query on an index.
 

Method Detail

search

SearchResultIF search(java.lang.String query)
                      throws java.io.IOException
INTERNAL: Performs a query on an index. The actual query syntax is search engine dependent.

Throws:
java.io.IOException

close

void close()
           throws java.io.IOException
INTERNAL: Releases resources associated with this searcher.

Throws:
java.io.IOException


Copyright © 2000-2012 Ontopia.