Show / Hide Table of Contents

    Class AssertingScorer

    Wraps a with additional checks.

    Inheritance
    System.Object
    AssertingScorer
    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
    | Improve this Doc View Source

    Freq

    Declaration
    public override int Freq { get; }
    Property Value
    Type Description
    System.Int32
    | 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
    | Improve this Doc View Source

    GetChildren()

    Declaration
    public override ICollection<ChildScorer> GetChildren()
    Returns
    Type Description
    ICollection<ChildScorer>
    | Improve this Doc View Source

    GetCost()

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

    GetScore()

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

    NextDoc()

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

    ToString()

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

    Wrap(Random, Scorer)

    Declaration
    public static Scorer Wrap(Random random, Scorer other)
    Parameters
    Type Name Description
    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)