PruneByAge

Simple pruner that drops any searcher older by more than the specified seconds, than the newest searcher.

Constructors

Link copied to clipboard
constructor(maxAgeSec: Double)

Functions

Link copied to clipboard
open override fun doPrune(ageSec: Double, searcher: IndexSearcher): Boolean

Return true if this searcher should be removed.