Show / Hide Table of Contents

    Class SpanScorer

    Public for extension only.

    Inheritance
    System.Object
    DocIdSetIterator
    DocsEnum
    Scorer
    SpanScorer
    PayloadNearQuery.PayloadNearSpanScorer
    PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
    Inherited Members
    Scorer.m_weight
    Scorer.Weight
    Scorer.GetChildren()
    DocsEnum.Attributes
    DocIdSetIterator.GetEmpty()
    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.Search.Spans
    Assembly: Lucene.Net.dll
    Syntax
    public class SpanScorer : Scorer

    Constructors

    | Improve this Doc View Source

    SpanScorer(Spans, Weight, Similarity.SimScorer)

    Declaration
    protected SpanScorer(Spans spans, Weight weight, Similarity.SimScorer docScorer)
    Parameters
    Type Name Description
    Spans spans
    Weight weight
    Similarity.SimScorer docScorer

    Fields

    | Improve this Doc View Source

    m_doc

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

    m_docScorer

    Declaration
    protected readonly Similarity.SimScorer m_docScorer
    Field Value
    Type Description
    Similarity.SimScorer
    | Improve this Doc View Source

    m_freq

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

    m_more

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

    m_numMatches

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

    m_spans

    Declaration
    protected Spans m_spans
    Field Value
    Type Description
    Spans

    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

    SloppyFreq

    Returns the intermediate "sloppy freq" adjusted for edit distance

    This is a Lucene.NET INTERNAL API, use at your own risk
    Declaration
    public virtual float SloppyFreq { get; }
    Property Value
    Type Description
    System.Single

    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
    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

    NextDoc()

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

    SetFreqCurrentDoc()

    Declaration
    protected virtual bool SetFreqCurrentDoc()
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)