## 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` | Weight.`scorer(LeafReaderContext context)` Returns a `Scorer` which can iterate in order over all matching documents and assign them a score.
    `Scorer` | DisjunctionMaxQuery.DisjunctionMaxWeight.`scorer(LeafReaderContext context)` Create the scorer used to score our associated DisjunctionMaxQuery
    `Scorer` | RandomAccessWeight.`scorer(LeafReaderContext context)`

    Methods in org.apache.lucene.search with parameters of type Scorer
    Modifier and Type | Method and Description
    --- | ---
    `void` | LeafCollector.`setScorer(Scorer scorer)` Called before successive calls to `LeafCollector.collect(int)`.
    `void` | LeafFieldComparator.`setScorer(Scorer scorer)` Sets the Scorer to use in case a document's score is needed.
    `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` | SimpleFieldComparator.`setScorer(Scorer scorer)`
    `void` | FilterLeafCollector.`setScorer(Scorer scorer)`

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

    Constructors in org.apache.lucene.search with parameters of type Scorer
    Constructor and Description
    `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.
    `Scorer.ChildScorer(Scorer child, String relationship)` Creates a new ChildScorer node with the specified relationship.
    `Weight.DefaultBulkScorer(Scorer scorer)` Sole constructor.

  - ### 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-2017 Apache Software Foundation. All Rights Reserved.