## 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.payloads | The payloads package provides Query mechanisms for finding and using payloads.
  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
    --- | ---
    `protected class` | `ConstantScoreQuery.ConstantScorer`
    `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.

    Methods in org.apache.lucene.search that return Scorer
    Modifier and Type | Method and Description
    --- | ---
    `abstract Scorer` | FilteredQuery.FilterStrategy.`filteredScorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Weight weight, DocIdSet docIdSet)` Returns a filtered `Scorer` based on this strategy.
    `Scorer` | FilteredQuery.RandomAccessFilterStrategy.`filteredScorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Weight weight, DocIdSet docIdSet)`
    `abstract Scorer` | Weight.`scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)` Returns a `Scorer` which scores documents in/out-of order according to `scoreDocsInOrder`.
    `Scorer` | DisjunctionMaxQuery.DisjunctionMaxWeight.`scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)` Create the scorer used to score our associated DisjunctionMaxQuery
    `Scorer` | ConstantScoreQuery.ConstantWeight.`scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)`
    `Scorer` | BooleanQuery.BooleanWeight.`scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)`

    Methods in org.apache.lucene.search with parameters of type Scorer
    Modifier and Type | Method and Description
    --- | ---
    `void` | TotalHitCountCollector.`setScorer(Scorer scorer)`
    `void` | TopScoreDocCollector.`setScorer(Scorer scorer)`
    `void` | TimeLimitingCollector.`setScorer(Scorer scorer)`
    `void` | PositiveScoresOnlyCollector.`setScorer(Scorer scorer)`
    `void` | MultiCollector.`setScorer(Scorer s)`
    `void` | FieldComparator.`setScorer(Scorer scorer)` Sets the Scorer to use in case a document's score is needed.
    `void` | FieldComparator.RelevanceComparator.`setScorer(Scorer scorer)`
    `abstract void` | Collector.`setScorer(Scorer scorer)` Called before successive calls to `Collector.collect(int)`.

    Constructors in org.apache.lucene.search with parameters of type Scorer
    Constructor and Description
    `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.

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

    Subclasses of Scorer in org.apache.lucene.search.payloads
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PayloadNearQuery.PayloadNearSpanScorer`
    `protected class` | `PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer`

    Methods in org.apache.lucene.search.payloads that return Scorer
    Modifier and Type | Method and Description
    --- | ---
    `Scorer` | PayloadTermQuery.PayloadTermWeight.`scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)`
    `Scorer` | PayloadNearQuery.PayloadNearSpanWeight.`scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)`

  - ### 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` Public for extension only.

    Methods in org.apache.lucene.search.spans that return Scorer
    Modifier and Type | Method and Description
    --- | ---
    `Scorer` | SpanWeight.`scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)`

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