Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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
    SearcherLifetimeManager.IPruner
    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 Source

    PruneByAge(Double)

    Declaration
    public PruneByAge(double maxAgeSec)
    Parameters
    Type Name Description
    System.Double maxAgeSec

    Methods

    | Improve this Doc View Source

    DoPrune(Double, IndexSearcher)

    Declaration
    public bool DoPrune(double ageSec, IndexSearcher searcher)
    Parameters
    Type Name Description
    System.Double ageSec
    IndexSearcher searcher
    Returns
    Type Description
    System.Boolean

    Implements

    SearcherLifetimeManager.IPruner
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.