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

- Packages that use Scorer
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.
  org.apache.lucene.search.spans | The calculus of spans.

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

    Subclasses of Scorer in org.apache.lucene.search
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConstantScoreScorer` A constant-scoring `Scorer`.
    `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` | `ScoreCachingWrappingScorer` A `Scorer` which wraps another scorer and caches the score of the current document.

    Fields in org.apache.lucene.search declared as Scorer
    Modifier and Type | Field and Description
    --- | ---
    `Scorer` | Scorer.ChildScorer.`child` Child Scorer.
    `protected Scorer` | FilterScorer.`in`
    `Scorer` | DisiWrapper.`scorer`

    Methods in org.apache.lucene.search that return Scorer
    Modifier and Type | Method and Description
    --- | ---
    `abstract Scorer` | ScorerSupplier.`get(boolean randomAccess)` Get the `Scorer`.
    `Scorer` | DisjunctionMaxQuery.DisjunctionMaxWeight.`scorer(LeafReaderContext context)` Create the scorer used to score our associated DisjunctionMaxQuery
    `abstract Scorer` | Weight.`scorer(LeafReaderContext context)` Returns a `Scorer` which can iterate in order over all matching documents and assign them a score.
    `Scorer` | FilterWeight.`scorer(LeafReaderContext context)`
    `Scorer` | RandomAccessWeight.`scorer(LeafReaderContext context)`

    Methods in org.apache.lucene.search with parameters of type Scorer
    Modifier and Type | Method and Description
    --- | ---
    `static DoubleValues` | DoubleValuesSource.`fromScorer(Scorer scorer)` Returns a DoubleValues instance that wraps scores returned by a Scorer
    `void` | LeafFieldComparator.`setScorer(Scorer scorer)` Sets the Scorer to use in case a document's score is needed.
    `void` | FilterLeafCollector.`setScorer(Scorer scorer)`
    `void` | SimpleFieldComparator.`setScorer(Scorer scorer)`
    `void` | LeafCollector.`setScorer(Scorer scorer)` Called before successive calls to `LeafCollector.collect(int)`.
    `void` | FieldComparator.RelevanceComparator.`setScorer(Scorer scorer)`
    `void` | FieldComparator.DocComparator.`setScorer(Scorer scorer)`
    `void` | FieldComparator.TermOrdValComparator.`setScorer(Scorer scorer)`
    `void` | FieldComparator.TermValComparator.`setScorer(Scorer scorer)`
    `void` | SimpleCollector.`setScorer(Scorer scorer)`
    `void` | MultiCollectorManager.Collectors.LeafCollectors.`setScorer(Scorer scorer)`

    Method parameters in org.apache.lucene.search with type arguments of type Scorer
    Modifier and Type | Method and Description
    --- | ---
    `static DocIdSetIterator` | ConjunctionDISI.`intersectScorers(Collection<Scorer> scorers)` Create a conjunction over the provided `Scorer`s.

    Constructors in org.apache.lucene.search with parameters of type Scorer
    Constructor and Description
    `ChildScorer(Scorer child, String relationship)` Creates a new ChildScorer node with the specified relationship.
    `DefaultBulkScorer(Scorer scorer)` Sole constructor.
    `DisiWrapper(Scorer scorer)`
    `FilterScorer(Scorer in)` Create a new FilterScorer
    `FilterScorer(Scorer in, Weight weight)` Create a new FilterScorer with a specific weight
    `ScoreCachingWrappingScorer(Scorer scorer)` Creates a new instance by wrapping the given scorer.

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

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

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