Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FunctionQuery.FunctionWeight

    Inheritance
    System.Object
    Lucene.Net.Search.Weight
    FunctionQuery.FunctionWeight
    Inherited Members
    Weight.GetBulkScorer(AtomicReaderContext, Boolean, IBits)
    Lucene.Net.Search.Weight.ScoresDocsOutOfOrder
    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.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
    Lucene.Net.Search.IndexSearcher searcher

    Fields

    | Improve this Doc View Source

    m_context

    Declaration
    protected readonly IDictionary m_context
    Field Value
    Type Description
    System.Collections.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
    Lucene.Net.Search.IndexSearcher

    Properties

    | Improve this Doc View Source

    Query

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

    Methods

    | Improve this Doc View Source

    Explain(AtomicReaderContext, Int32)

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

    GetScorer(AtomicReaderContext, IBits)

    Declaration
    public override Scorer GetScorer(AtomicReaderContext ctx, IBits acceptDocs)
    Parameters
    Type Name Description
    Lucene.Net.Index.AtomicReaderContext ctx
    Lucene.Net.Util.IBits acceptDocs
    Returns
    Type Description
    Lucene.Net.Search.Scorer
    Overrides
    Lucene.Net.Search.Weight.GetScorer(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits)
    | Improve this Doc View Source

    GetValueForNormalization()

    Declaration
    public override float GetValueForNormalization()
    Returns
    Type Description
    System.Single
    Overrides
    Lucene.Net.Search.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 © 2022 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.