SearcherLifetimeManager.PruneByAge
public static interface SearcherLifetimeManager.Pruner
Modifier and Type | Method | 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-2018 Apache Software Foundation. All Rights Reserved.