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. Lucene.Net.Search.BooleanScorer) we can use that top-level scorer.

    Inheritance
    System.Object
    BulkScorer
    ConstantScoreQuery.ConstantBulkScorer
    Inherited Members
    BulkScorer.Score(ICollector)
    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
    protected class ConstantBulkScorer : BulkScorer

    Constructors

    | Improve this Doc View Source

    ConstantBulkScorer(ConstantScoreQuery, BulkScorer, Weight, Single)

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

    Methods

    | Improve this Doc View Source

    Score(ICollector, Int32)

    Declaration
    public override bool Score(ICollector collector, int max)
    Parameters
    Type Name Description
    ICollector collector
    System.Int32 max
    Returns
    Type Description
    System.Boolean
    Overrides
    BulkScorer.Score(ICollector, Int32)

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)