Show / Hide Table of Contents

    Class PayloadNearQuery.PayloadNearSpanScorer

    Inheritance
    System.Object
    DocIdSetIterator
    DocsEnum
    Scorer
    SpanScorer
    PayloadNearQuery.PayloadNearSpanScorer
    Inherited Members
    SpanScorer.m_spans
    SpanScorer.m_more
    SpanScorer.m_doc
    SpanScorer.m_freq
    SpanScorer.m_numMatches
    SpanScorer.m_docScorer
    SpanScorer.NextDoc()
    SpanScorer.Advance(Int32)
    SpanScorer.DocID
    SpanScorer.Freq
    SpanScorer.SloppyFreq
    SpanScorer.GetCost()
    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.Payloads
    Assembly: Lucene.Net.dll
    Syntax
    public class PayloadNearSpanScorer : SpanScorer

    Constructors

    | Improve this Doc View Source

    PayloadNearSpanScorer(PayloadNearQuery, Spans, Weight, Similarity, Similarity.SimScorer)

    Declaration
    protected PayloadNearSpanScorer(PayloadNearQuery outerInstance, Spans spans, Weight weight, Similarity similarity, Similarity.SimScorer docScorer)
    Parameters
    Type Name Description
    PayloadNearQuery outerInstance
    Spans spans
    Weight weight
    Similarity similarity
    Similarity.SimScorer docScorer

    Fields

    | Improve this Doc View Source

    m_payloadScore

    Declaration
    protected float m_payloadScore
    Field Value
    Type Description
    System.Single

    Methods

    | Improve this Doc View Source

    GetPayloads(Spans[])

    Declaration
    public virtual void GetPayloads(Spans[] subSpans)
    Parameters
    Type Name Description
    Spans[] subSpans
    | Improve this Doc View Source

    GetScore()

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

    ProcessPayloads(ICollection<Byte[]>, Int32, Int32)

    By default, uses the PayloadFunction to score the payloads, but can be overridden to do other things.

    Declaration
    protected virtual void ProcessPayloads(ICollection<byte[]> payLoads, int start, int end)
    Parameters
    Type Name Description
    System.Collections.Generic.ICollection<System.Byte[]> payLoads

    The payloads

    System.Int32 start

    The start position of the span being scored

    System.Int32 end

    The end position of the span being scored

    See Also
    Lucene.Net.Search.Spans.Spans.#ctor
    | Improve this Doc View Source

    SetFreqCurrentDoc()

    Declaration
    protected override bool SetFreqCurrentDoc()
    Returns
    Type Description
    System.Boolean
    Overrides
    SpanScorer.SetFreqCurrentDoc()

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)