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

- Packages that use Searcher
  Package | Description
  --- | ---
  org.apache.lucene.benchmark.quality | Search Quality Benchmarking.
  org.apache.lucene.benchmark.quality.utils | Miscellaneous utilities for search quality benchmarking: query parsing, submission reports.
  org.apache.lucene.demo |
  org.apache.lucene.search | Code to search indices.
  org.apache.lucene.search.function | Programmatic control over documents scores.
  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.
  org.apache.lucene.wordnet | This package uses synonyms defined by WordNet to build a Lucene index storing them, which in turn can be used for query expansion.

- - ### Uses of Searcher in org.apache.lucene.benchmark.quality

    Fields in org.apache.lucene.benchmark.quality declared as Searcher
    Modifier and Type | Field and Description
    --- | ---
    `protected Searcher` | QualityBenchmark.`searcher` Index to be searched.

    Constructors in org.apache.lucene.benchmark.quality with parameters of type Searcher
    Constructor and Description
    `QualityBenchmark(QualityQuery[] qqs, QualityQueryParser qqParser, Searcher searcher, java.lang.String docNameField)` Create a QualityBenchmark.

  - ### Uses of Searcher in org.apache.lucene.benchmark.quality.utils

    Methods in org.apache.lucene.benchmark.quality.utils with parameters of type Searcher
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | DocNameExtractor.`docName(Searcher searcher, int docid)` Extract the name of the input doc from the index.
    `void` | SubmissionReport.`report(QualityQuery qq, TopDocs td, java.lang.String docNameField, Searcher searcher)` Report a search result for a certain quality query.

  - ### Uses of Searcher in org.apache.lucene.demo

    Methods in org.apache.lucene.demo with parameters of type Searcher
    Modifier and Type | Method and Description
    --- | ---
    `static void` | SearchFiles.`doPagingSearch(java.io.BufferedReader in, Searcher searcher, Query query, int hitsPerPage, boolean raw, boolean interactive)` This demonstrates a typical paging search scenario, where the search engine presents pages of size n to the user.
    `static void` | SearchFiles.`doStreamingSearch(Searcher searcher, Query query)` This method uses a custom HitCollector implementation which simply prints out the docId and score of every matching document.

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

    Subclasses of Searcher in org.apache.lucene.search
    Modifier and Type | Class and Description
    --- | ---
    `class` | `IndexSearcher` Implements search over a single IndexReader.
    `class` | `MultiSearcher` Implements search over a set of `Searchables`.
    `class` | `ParallelMultiSearcher` Implements parallel search over a set of `Searchables`.

    Methods in org.apache.lucene.search with parameters of type Searcher
    Modifier and Type | Method and Description
    --- | ---
    `Weight` | MultiPhraseQuery.`createWeight(Searcher searcher)`
    `Weight` | TermQuery.`createWeight(Searcher searcher)`
    `Weight` | ConstantScoreQuery.`createWeight(Searcher searcher)`
    `Weight` | FilteredQuery.`createWeight(Searcher searcher)` Returns a Weight that applies the filter to the enclosed query's Weight.
    `Weight` | MatchAllDocsQuery.`createWeight(Searcher searcher)`
    `Weight` | DisjunctionMaxQuery.`createWeight(Searcher searcher)`
    `Weight` | BooleanQuery.`createWeight(Searcher searcher)`
    `Weight` | Query.`createWeight(Searcher searcher)` Expert: Constructs an appropriate Weight implementation for this query.
    `Weight` | PhraseQuery.`createWeight(Searcher searcher)`
    `Similarity` | BooleanQuery.`getSimilarity(Searcher searcher)`
    `Similarity` | Query.`getSimilarity(Searcher searcher)` Expert: Returns the Similarity implementation to be used for this query.
    `float` | Similarity.`idf(java.util.Collection terms, Searcher searcher)` Deprecated. see `Similarity.idfExplain(Collection, Searcher)`
    `float` | Similarity.`idf(Term term, Searcher searcher)` Deprecated. see `Similarity.idfExplain(Term, Searcher)`
    `Explanation.IDFExplanation` | Similarity.`idfExplain(java.util.Collection terms, Searcher searcher)` Computes a score factor for a phrase.
    `Explanation.IDFExplanation` | Similarity.`idfExplain(Term term, Searcher searcher)` Computes a score factor for a simple term and returns an explanation for that score factor.
    `Weight` | Query.`weight(Searcher searcher)` Expert: Constructs and initializes a Weight for a top-level query.

    Constructors in org.apache.lucene.search with parameters of type Searcher
    Constructor and Description
    `BooleanWeight(Searcher searcher)`
    `ConstantWeight(Searcher searcher)`
    `DisjunctionMaxWeight(Searcher searcher)`

  - ### Uses of Searcher in org.apache.lucene.search.function

    Methods in org.apache.lucene.search.function with parameters of type Searcher
    Modifier and Type | Method and Description
    --- | ---
    `Weight` | CustomScoreQuery.`createWeight(Searcher searcher)`
    `Weight` | ValueSourceQuery.`createWeight(Searcher searcher)`

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

    Methods in org.apache.lucene.search.payloads with parameters of type Searcher
    Modifier and Type | Method and Description
    --- | ---
    `Weight` | BoostingTermQuery.`createWeight(Searcher searcher)` Deprecated.
    `Weight` | PayloadNearQuery.`createWeight(Searcher searcher)`
    `Weight` | PayloadTermQuery.`createWeight(Searcher searcher)`

    Constructors in org.apache.lucene.search.payloads with parameters of type Searcher
    Constructor and Description
    `BoostingTermWeight(BoostingTermQuery query, Searcher searcher)`
    `PayloadNearSpanWeight(SpanQuery query, Searcher searcher)`
    `PayloadTermWeight(PayloadTermQuery query, Searcher searcher)`

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

    Methods in org.apache.lucene.search.spans with parameters of type Searcher
    Modifier and Type | Method and Description
    --- | ---
    `Weight` | SpanQuery.`createWeight(Searcher searcher)`
    `Weight` | FieldMaskingSpanQuery.`createWeight(Searcher searcher)`
    `Similarity` | FieldMaskingSpanQuery.`getSimilarity(Searcher searcher)`

    Constructors in org.apache.lucene.search.spans with parameters of type Searcher
    Constructor and Description
    `SpanWeight(SpanQuery query, Searcher searcher)`

  - ### Uses of Searcher in org.apache.lucene.wordnet

    Methods in org.apache.lucene.wordnet with parameters of type Searcher
    Modifier and Type | Method and Description
    --- | ---
    `static Query` | SynLookup.`expand(java.lang.String query, Searcher syns, Analyzer a, java.lang.String field, float boost)` Perform synonym expansion on a query.
    `static Query` | SynExpand.`expand(java.lang.String query, Searcher syns, Analyzer a, java.lang.String field, float boost)` Perform synonym expansion on a query.

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