Show / Hide Table of Contents

    Class AssertingScorer

    Wraps a Scorer with additional checks.

    Inheritance
    System.Object
    DocIdSetIterator
    DocsEnum
    Scorer
    AssertingScorer
    Inherited Members
    Scorer.m_weight
    Scorer.Weight
    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)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class AssertingScorer : Scorer

    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

    In

    Declaration
    public virtual Scorer In { get; }
    Property Value
    Type Description
    Scorer

    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

    GetChildren()

    Declaration
    public override ICollection<Scorer.ChildScorer> GetChildren()
    Returns
    Type Description
    System.Collections.Generic.ICollection<Scorer.ChildScorer>
    Overrides
    Scorer.GetChildren()
    | 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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    | Improve this Doc View Source

    Wrap(Random, Scorer)

    Declaration
    public static Scorer Wrap(Random random, Scorer other)
    Parameters
    Type Name Description
    System.Random random
    Scorer other
    Returns
    Type Description
    Scorer
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)