Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface SearcherLifetimeManager.IPruner

    See Prune(IPruner).

    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public interface SearcherLifetimeManager.IPruner

    Methods

    DoPrune(double, IndexSearcher)

    Return true if this searcher should be removed.

    Declaration
    bool DoPrune(double ageSec, IndexSearcher searcher)
    Parameters
    Type Name Description
    double ageSec

    How much time has passed since this searcher was the current (live) searcher

    IndexSearcher searcher

    Searcher

    Returns
    Type Description
    bool
    Back to top Copyright © 2024 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.