## Uses of Class
org.apache.lucene.search.Scorable

- Packages that use Scorable
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.
  org.apache.lucene.search.comparators | Comparators, used to compare hits so as to determine their sort order when collecting the top results with `TopFieldCollector`.
  org.apache.lucene.search.spans | The calculus of spans.

- - ### Uses of Scorable in org.apache.lucene.search

    Subclasses of Scorable in org.apache.lucene.search
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConstantScoreScorer` A constant-scoring `Scorer`.
    `class` | `FilterScorable` Filter a `Scorable`, intercepting methods and optionally changing their return values The default implementation simply passes all calls to its delegate, with the exception of `setMinCompetitiveScore(float)` which defaults to a no-op.
    `class` | `FilterScorer` A `FilterScorer` contains another `Scorer`, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
    `class` | `IndriAndScorer` Combines scores of subscorers.
    `class` | `IndriDisjunctionScorer` The Indri implemenation of a disjunction scorer which stores the subscorers for the child queries.
    `class` | `IndriScorer` The Indri parent scorer that stores the boost so that IndriScorers can use the boost outside of the term.
    `class` | `ScoreCachingWrappingScorer` A `Scorer` which wraps another scorer and caches the score of the current document.
    `class` | `Scorer` Expert: Common scoring functionality for different types of queries.

    Fields in org.apache.lucene.search declared as Scorable
    Modifier and Type | Field and Description
    --- | ---
    `Scorable` | Scorable.ChildScorable.`child` Child Scorer.
    `protected Scorable` | FilterScorable.`in`

    Methods in org.apache.lucene.search that return Scorable
    Modifier and Type | Method and Description
    --- | ---
    `static Scorable` | ScoreCachingWrappingScorer.`wrap(Scorable scorer)` Wraps the provided `Scorable` unless it's already an instance of `ScoreCachingWrappingScorer`, in which case it will just return the provided instance.

    Methods in org.apache.lucene.search with parameters of type Scorable
    Modifier and Type | Method and Description
    --- | ---
    `static DoubleValues` | DoubleValuesSource.`fromScorer(Scorable scorer)` Returns a DoubleValues instance that wraps scores returned by a Scorer
    `void` | MultiCollectorManager.Collectors.LeafCollectors.`setScorer(Scorable scorer)`
    `void` | FieldComparator.RelevanceComparator.`setScorer(Scorable scorer)`
    `void` | FieldComparator.TermOrdValComparator.`setScorer(Scorable scorer)`
    `void` | FieldComparator.TermValComparator.`setScorer(Scorable scorer)`
    `void` | LeafCollector.`setScorer(Scorable scorer)` Called before successive calls to `LeafCollector.collect(int)`.
    `void` | SimpleCollector.`setScorer(Scorable scorer)`
    `void` | LeafFieldComparator.`setScorer(Scorable scorer)` Sets the Scorer to use in case a document's score is needed.
    `void` | FilterLeafCollector.`setScorer(Scorable scorer)`
    `void` | SimpleFieldComparator.`setScorer(Scorable scorer)`
    `protected void` | TopFieldCollector.`updateGlobalMinCompetitiveScore(Scorable scorer)`
    `protected void` | TopScoreDocCollector.`updateGlobalMinCompetitiveScore(Scorable scorer)`
    `protected void` | TopFieldCollector.`updateMinCompetitiveScore(Scorable scorer)`
    `protected void` | TopScoreDocCollector.`updateMinCompetitiveScore(Scorable scorer)`
    `static Scorable` | ScoreCachingWrappingScorer.`wrap(Scorable scorer)` Wraps the provided `Scorable` unless it's already an instance of `ScoreCachingWrappingScorer`, in which case it will just return the provided instance.

    Constructors in org.apache.lucene.search with parameters of type Scorable
    Constructor and Description
    `ChildScorable(Scorable child, String relationship)` Creates a new ChildScorer node with the specified relationship.
    `FilterScorable(Scorable in)` Filter a scorer
    `ScoreCachingWrappingScorer(Scorable scorer)` Deprecated. Use `ScoreCachingWrappingScorer.wrap(Scorable)` instead

  - ### Uses of Scorable in org.apache.lucene.search.comparators

    Methods in org.apache.lucene.search.comparators with parameters of type Scorable
    Modifier and Type | Method and Description
    --- | ---
    `void` | NumericComparator.NumericLeafComparator.`setScorer(Scorable scorer)`

  - ### Uses of Scorable in org.apache.lucene.search.spans

    Subclasses of Scorable in org.apache.lucene.search.spans
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SpanScorer` A basic `Scorer` over `Spans`.

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.