| java.lang.Object org.compass.core.lucene.engine.LuceneSearchEngineInternalSearch
Field Summary | |
protected MultiReader | reader |
Method Summary | |
public void | close() Closes this instance of Lucene search "internals". | public IndexReader | getReader() Returns a Lucene
IndexReader . | public Searcher | getSearcher() Returns a Lucene
Searcher . | public boolean | isEmpty() Returns true if it represents an empty index scope. |
reader | protected MultiReader reader(Code) | | |
LuceneSearchEngineInternalSearch | public LuceneSearchEngineInternalSearch(MultiSearcher searcher, List<LuceneIndexHolder> indexHolders)(Code) | | Creates a new instance, with a searcher and index holders which will be used
to release when calling close.
Parameters: searcher - The searcher, which is also used to construct the reader Parameters: indexHolders - Holders to be released when calling close. |
close | public void close() throws SearchEngineException(Code) | | Closes this instance of Lucene search "internals". This is an optional operation
since Compass will take care of closing it when commit/rollback is called on the
transaction.
|
getSearcher | public Searcher getSearcher()(Code) | | Returns a Lucene
Searcher .
|
isEmpty | public boolean isEmpty()(Code) | | Returns true if it represents an empty index scope.
|
|
|