Show / Hide Table of Contents

    Class ValueSourceScorer

    Scorer which returns the result of SingleVal(Int32) as the score for a document.

    Inheritance
    System.Object
    DocIdSetIterator
    DocsEnum
    Scorer
    ValueSourceScorer
    Inherited Members
    Scorer.m_weight
    Scorer.Weight
    Scorer.GetChildren()
    DocsEnum.Attributes
    DocIdSetIterator.GetEmpty()
    DocIdSetIterator.NO_MORE_DOCS
    DocIdSetIterator.SlowAdvance(Int32)
    Namespace: Lucene.Net.Queries.Function
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public class ValueSourceScorer : Scorer

    Constructors

    | Improve this Doc View Source

    ValueSourceScorer(IndexReader, FunctionValues)

    Declaration
    protected ValueSourceScorer(IndexReader reader, FunctionValues values)
    Parameters
    Type Name Description
    IndexReader reader
    FunctionValues values

    Fields

    | Improve this Doc View Source

    m_checkDeletes

    Declaration
    protected bool m_checkDeletes
    Field Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    m_maxDoc

    Declaration
    protected readonly int m_maxDoc
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_reader

    Declaration
    protected readonly IndexReader m_reader
    Field Value
    Type Description
    IndexReader
    | Improve this Doc View Source

    m_values

    Declaration
    protected readonly FunctionValues m_values
    Field Value
    Type Description
    FunctionValues

    Properties

    | Improve this Doc View Source

    DocID

    Declaration
    public override int DocID { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    DocIdSetIterator.DocID
    | Improve this Doc View Source

    Freq

    Declaration
    public override int Freq { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    DocsEnum.Freq
    | Improve this Doc View Source

    Reader

    Declaration
    public virtual IndexReader Reader { get; }
    Property Value
    Type Description
    IndexReader

    Methods

    | Improve this Doc View Source

    Advance(Int32)

    Declaration
    public override int Advance(int target)
    Parameters
    Type Name Description
    System.Int32 target
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetCost()

    Declaration
    public override long GetCost()
    Returns
    Type Description
    System.Int64
    Overrides
    DocIdSetIterator.GetCost()
    | Improve this Doc View Source

    GetScore()

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

    Matches(Int32)

    Declaration
    public virtual bool Matches(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    MatchesValue(Int32)

    Declaration
    public virtual bool MatchesValue(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    NextDoc()

    Declaration
    public override int NextDoc()
    Returns
    Type Description
    System.Int32
    Overrides
    DocIdSetIterator.NextDoc()
    | Improve this Doc View Source

    SetCheckDeletes(Boolean)

    Declaration
    public virtual void SetCheckDeletes(bool checkDeletes)
    Parameters
    Type Name Description
    System.Boolean checkDeletes
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)