Class SearcherLifetimeManager.PruneByAge
Simple pruner that drops any searcher older by more than the specified seconds, than the newest searcher.
Inheritance
System.Object
SearcherLifetimeManager.PruneByAge
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public sealed class PruneByAge : SearcherLifetimeManager.IPruner
Constructors
| Improve this Doc View SourcePruneByAge(Double)
Declaration
public PruneByAge(double maxAgeSec)
Parameters
Type | Name | Description |
---|---|---|
System.Double | maxAgeSec |
Methods
| Improve this Doc View SourceDoPrune(Double, IndexSearcher)
Declaration
public bool DoPrune(double ageSec, IndexSearcher searcher)
Parameters
Type | Name | Description |
---|---|---|
System.Double | ageSec | |
IndexSearcher | searcher |
Returns
Type | Description |
---|---|
System.Boolean |