Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ValueSourceScorer

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

    Inheritance
    System.Object
    Lucene.Net.Search.DocIdSetIterator
    Lucene.Net.Index.DocsEnum
    Lucene.Net.Search.Scorer
    ValueSourceScorer
    Inherited Members
    Lucene.Net.Search.Scorer.m_weight
    Lucene.Net.Search.Scorer.Weight
    Lucene.Net.Search.Scorer.GetChildren()
    Lucene.Net.Index.DocsEnum.Attributes
    Lucene.Net.Search.DocIdSetIterator.GetEmpty()
    Lucene.Net.Search.DocIdSetIterator.NO_MORE_DOCS
    DocIdSetIterator.SlowAdvance(Int32)
    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
    public class ValueSourceScorer : Scorer

    Constructors

    | Improve this Doc View Source

    ValueSourceScorer(IndexReader, FunctionValues)

    Declaration
    protected ValueSourceScorer(IndexReader reader, FunctionValues values)
    Parameters
    Type Name Description
    Lucene.Net.Index.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
    Lucene.Net.Index.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
    Lucene.Net.Search.DocIdSetIterator.DocID
    | Improve this Doc View Source

    Freq

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

    Reader

    Declaration
    public virtual IndexReader Reader { get; }
    Property Value
    Type Description
    Lucene.Net.Index.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
    Overrides
    DocIdSetIterator.Advance(Int32)
    | Improve this Doc View Source

    GetCost()

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

    GetScore()

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