org.apache.lucene.search.SearcherLifetimeManager.PruneByAge
Simple pruner that drops any searcher older by more than the specified seconds, than the newest
searcher.
Constructors
new
new
(
double max_age_sec
)
Java: <init>(double maxAgeSec)
Instance Methods
do_prune
boolean
do_prune
(
double age_sec,
IndexSearcher searcher
)
Java: doPrune(double ageSec, org.apache.lucene.search.IndexSearcher searcher)