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
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class PruneByAge : object, 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 Licensed to the Apache Software Foundation (ASF)