Show / Hide Table of Contents

    Class ConstantScoreQuery.ConstantWeight

    Inheritance
    System.Object
    Weight
    ConstantScoreQuery.ConstantWeight
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    protected class ConstantWeight : Weight

    Constructors

    | Improve this Doc View Source

    ConstantWeight(ConstantScoreQuery, IndexSearcher)

    Declaration
    public ConstantWeight(ConstantScoreQuery outerInstance, IndexSearcher searcher)
    Parameters
    Type Name Description
    ConstantScoreQuery outerInstance
    IndexSearcher searcher

    Properties

    | Improve this Doc View Source

    Query

    Declaration
    public override Query Query { get; }
    Property Value
    Type Description
    Query
    Overrides
    Weight.Query
    | Improve this Doc View Source

    ScoresDocsOutOfOrder

    Declaration
    public override bool ScoresDocsOutOfOrder { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Weight.ScoresDocsOutOfOrder

    Methods

    | Improve this Doc View Source

    Explain(AtomicReaderContext, Int32)

    Declaration
    public override Explanation Explain(AtomicReaderContext context, int doc)
    Parameters
    Type Name Description
    AtomicReaderContext context
    System.Int32 doc
    Returns
    Type Description
    Explanation
    Overrides
    Weight.Explain(AtomicReaderContext, Int32)
    | Improve this Doc View Source

    GetBulkScorer(AtomicReaderContext, Boolean, IBits)

    Declaration
    public override BulkScorer GetBulkScorer(AtomicReaderContext context, bool scoreDocsInOrder, IBits acceptDocs)
    Parameters
    Type Name Description
    AtomicReaderContext context
    System.Boolean scoreDocsInOrder
    IBits acceptDocs
    Returns
    Type Description
    BulkScorer
    Overrides
    Weight.GetBulkScorer(AtomicReaderContext, Boolean, IBits)
    | Improve this Doc View Source

    GetScorer(AtomicReaderContext, IBits)

    Declaration
    public override Scorer GetScorer(AtomicReaderContext context, IBits acceptDocs)
    Parameters
    Type Name Description
    AtomicReaderContext context
    IBits acceptDocs
    Returns
    Type Description
    Scorer
    Overrides
    Weight.GetScorer(AtomicReaderContext, IBits)
    | Improve this Doc View Source

    GetValueForNormalization()

    Declaration
    public override float GetValueForNormalization()
    Returns
    Type Description
    System.Single
    Overrides
    Weight.GetValueForNormalization()
    | Improve this Doc View Source

    Normalize(Single, Single)

    Declaration
    public override void Normalize(float norm, float topLevelBoost)
    Parameters
    Type Name Description
    System.Single norm
    System.Single topLevelBoost
    Overrides
    Weight.Normalize(Single, Single)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)