Show / Hide Table of Contents

    Class FunctionQuery.FunctionWeight

    Inheritance
    System.Object
    Weight
    FunctionQuery.FunctionWeight
    Inherited Members
    Weight.GetBulkScorer(AtomicReaderContext, Boolean, IBits)
    Weight.ScoresDocsOutOfOrder
    Namespace: Lucene.Net.Queries.Function
    Assembly: Lucene.Net.Queries.dll
    Syntax
    protected class FunctionWeight : Weight

    Constructors

    | Improve this Doc View Source

    FunctionWeight(FunctionQuery, IndexSearcher)

    Declaration
    public FunctionWeight(FunctionQuery outerInstance, IndexSearcher searcher)
    Parameters
    Type Name Description
    FunctionQuery outerInstance
    IndexSearcher searcher

    Fields

    | Improve this Doc View Source

    m_context

    Declaration
    protected readonly IDictionary m_context
    Field Value
    Type Description
    IDictionary
    | Improve this Doc View Source

    m_queryNorm

    Declaration
    protected float m_queryNorm
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    m_queryWeight

    Declaration
    protected float m_queryWeight
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    m_searcher

    Declaration
    protected readonly IndexSearcher m_searcher
    Field Value
    Type Description
    IndexSearcher

    Properties

    | Improve this Doc View Source

    Query

    Declaration
    public override Query Query { get; }
    Property Value
    Type Description
    Query
    Overrides
    Weight.Query

    Methods

    | Improve this Doc View Source

    Explain(AtomicReaderContext, Int32)

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

    GetScorer(AtomicReaderContext, IBits)

    Declaration
    public override Scorer GetScorer(AtomicReaderContext ctx, IBits acceptDocs)
    Parameters
    Type Name Description
    AtomicReaderContext ctx
    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)