Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class AssertingBulkScorer

    Wraps a Lucene.Net.Search.Scorer with additional checks.

    Inheritance
    object
    BulkScorer
    AssertingBulkScorer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class AssertingBulkScorer : BulkScorer

    Properties

    In

    Wraps a Lucene.Net.Search.Scorer with additional checks.

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

    Methods

    Score(ICollector)

    Scores and collects all matching documents.

    Declaration
    public override void Score(ICollector collector)
    Parameters
    Type Name Description
    ICollector collector

    The collector to which all matching documents are passed.

    Overrides
    Lucene.Net.Search.BulkScorer.Score(Lucene.Net.Search.ICollector)

    Score(ICollector, int)

    Collects matching documents in a range.

    Declaration
    public override bool Score(ICollector collector, int max)
    Parameters
    Type Name Description
    ICollector collector

    The collector to which all matching documents are passed.

    int max

    Score up to, but not including, this doc

    Returns
    Type Description
    bool

    true if more matching documents may remain.

    Overrides
    BulkScorer.Score(ICollector, int)

    ShouldWrap(BulkScorer)

    Wraps a Lucene.Net.Search.Scorer with additional checks.

    Declaration
    public static bool ShouldWrap(BulkScorer inScorer)
    Parameters
    Type Name Description
    BulkScorer inScorer
    Returns
    Type Description
    bool

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    Wrap(Random, BulkScorer)

    Wraps a Lucene.Net.Search.Scorer with additional checks.

    Declaration
    public static BulkScorer Wrap(Random random, BulkScorer other)
    Parameters
    Type Name Description
    Random random
    BulkScorer other
    Returns
    Type Description
    BulkScorer
    Back to top Copyright © 2024 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.