public static interface SearcherLifetimeManager.Pruner
Modifier and Type | Method and Description |
---|---|
boolean |
doPrune(double ageSec,
IndexSearcher searcher)
Return true if this searcher should be removed.
|
boolean doPrune(double ageSec, IndexSearcher searcher)
ageSec
- how much time has passed since this
searcher was the current (live) searchersearcher
- SearcherCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.