Interface SearcherIF
-
- All Superinterfaces:
IndexIF
- All Known Implementing Classes:
RDBMSSearcher
public interface SearcherIF extends IndexIF
INTERNAL: Represents a search engine. Instances of this class are able to perform searches across a collection of documents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()INTERNAL: Releases resources associated with this searcher.SearchResultIFsearch(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 IOExceptionINTERNAL: Releases resources associated with this searcher.- Throws:
IOException
-
-