Interface SearcherLifetimeManager.IPruner
See Prune(IPruner).
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public interface SearcherLifetimeManager.IPruner
Methods
DoPrune(double, IndexSearcher)
Return true
if this searcher should be removed.
Declaration
bool DoPrune(double ageSec, IndexSearcher searcher)
Parameters
Type | Name | Description |
---|---|---|
double | ageSec | How much time has passed since this searcher was the current (live) searcher |
IndexSearcher | searcher | Searcher |
Returns
Type | Description |
---|---|
bool |