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(String query)
          INTERNAL: Performs a query on an index.
 

Method Detail

search

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

Throws:
IOException

close

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

Throws:
IOException


Copyright © 2000-2012 Ontopia.