Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ConstantScoreQuery.ConstantBulkScorer

    We return this as our BulkScorer so that if the CSQ wraps a query with its own optimized top-level scorer (e.g. BooleanScorer) we can use that top-level scorer.

    Inheritance
    object
    BulkScorer
    ConstantScoreQuery.ConstantBulkScorer
    Inherited Members
    BulkScorer.Score(ICollector)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    protected class ConstantScoreQuery.ConstantBulkScorer : BulkScorer

    Constructors

    ConstantBulkScorer(ConstantScoreQuery, BulkScorer, Weight, float)

    We return this as our BulkScorer so that if the CSQ wraps a query with its own optimized top-level scorer (e.g. BooleanScorer) we can use that top-level scorer.

    Declaration
    public ConstantBulkScorer(ConstantScoreQuery outerInstance, BulkScorer bulkScorer, Weight weight, float theScore)
    Parameters
    Type Name Description
    ConstantScoreQuery outerInstance
    BulkScorer bulkScorer
    Weight weight
    float theScore

    Methods

    Score(ICollector, int)

    Collects matching documents in a range.

    Declaration
    public override bool Score(ICollector collector, int max)
    Parameters
    Type Name Description
    ICollector collector

    The collector to which all matching documents are passed.

    int max

    Score up to, but not including, this doc

    Returns
    Type Description
    bool

    true if more matching documents may remain.

    Overrides
    BulkScorer.Score(ICollector, int)
    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.