Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Field and Description |
---|---|
protected IndexSearcher[] |
IndexSearcher.subSearchers |
Modifier and Type | Method and Description |
---|---|
IndexSearcher |
SearcherLifetimeManager.acquire(long version)
Retrieve a previously recorded
IndexSearcher , if it
has not yet been closed
NOTE: this may return null when the
requested searcher has already timed out. |
IndexSearcher |
SearcherFactory.newSearcher(IndexReader reader)
Returns a new IndexSearcher over the given reader.
|
protected IndexSearcher |
SearcherManager.refreshIfNeeded(IndexSearcher referenceToRefresh) |
protected IndexSearcher |
NRTManager.refreshIfNeeded(IndexSearcher referenceToRefresh) |
Modifier and Type | Method and Description |
---|---|
protected void |
SearcherManager.decRef(IndexSearcher reference) |
protected void |
NRTManager.decRef(IndexSearcher reference) |
boolean |
SearcherLifetimeManager.Pruner.doPrune(double ageSec,
IndexSearcher searcher)
Return true if this searcher should be removed.
|
boolean |
SearcherLifetimeManager.PruneByAge.doPrune(double ageSec,
IndexSearcher searcher) |
long |
SearcherLifetimeManager.record(IndexSearcher searcher)
Records that you are now using this IndexSearcher.
|
protected IndexSearcher |
SearcherManager.refreshIfNeeded(IndexSearcher referenceToRefresh) |
protected IndexSearcher |
NRTManager.refreshIfNeeded(IndexSearcher referenceToRefresh) |
void |
SearcherLifetimeManager.release(IndexSearcher s)
Release a searcher previously obtained from
SearcherLifetimeManager.acquire(long) . |
protected boolean |
SearcherManager.tryIncRef(IndexSearcher reference) |
protected boolean |
NRTManager.tryIncRef(IndexSearcher reference) |