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

- Packages that use IndexSearcher
  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 IndexSearcher in org.apache.lucene.search

    Methods in org.apache.lucene.search that return IndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `IndexSearcher` | SearcherLifetimeManager.`acquire(long version)` Retrieve a previously recorded `IndexSearcher`, if it has not yet been closed
    `IndexSearcher` | SearcherFactory.`newSearcher(IndexReader reader)` Returns a new IndexSearcher over the given reader.
    `protected IndexSearcher` | SearcherManager.`refreshIfNeeded(IndexSearcher referenceToRefresh)`
    `protected IndexSearcher` | NRTManager.`refreshIfNeeded(IndexSearcher referenceToRefresh)`

    Methods in org.apache.lucene.search with parameters of type IndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `Weight` | TermQuery.`createWeight(IndexSearcher searcher)`
    `Weight` | Query.`createWeight(IndexSearcher searcher)` Expert: Constructs an appropriate Weight implementation for this query.
    `Weight` | PhraseQuery.`createWeight(IndexSearcher searcher)`
    `Weight` | MultiPhraseQuery.`createWeight(IndexSearcher searcher)`
    `Weight` | MatchAllDocsQuery.`createWeight(IndexSearcher searcher)`
    `Weight` | FilteredQuery.`createWeight(IndexSearcher searcher)` Returns a Weight that applies the filter to the enclosed query's Weight.
    `Weight` | DisjunctionMaxQuery.`createWeight(IndexSearcher searcher)` Create the Weight used to score us
    `Weight` | ConstantScoreQuery.`createWeight(IndexSearcher searcher)`
    `Weight` | BooleanQuery.`createWeight(IndexSearcher searcher)`
    `protected void` | SearcherManager.`decRef(IndexSearcher reference)`
    `protected void` | NRTManager.`decRef(IndexSearcher reference)`
    `boolean` | SearcherLifetimeManager.Pruner.`doPrune(double ageSec, IndexSearcher searcher)` Return true if this searcher should be removed.
    `boolean` | SearcherLifetimeManager.PruneByAge.`doPrune(double ageSec, IndexSearcher searcher)`
    `protected abstract T` | LiveFieldValues.`lookupFromSearcher(IndexSearcher s, String id)` This is called when the id/value was already flushed & opened in an NRT IndexSearcher.
    `long` | SearcherLifetimeManager.`record(IndexSearcher searcher)` Records that you are now using this IndexSearcher.
    `protected IndexSearcher` | SearcherManager.`refreshIfNeeded(IndexSearcher referenceToRefresh)`
    `protected IndexSearcher` | NRTManager.`refreshIfNeeded(IndexSearcher referenceToRefresh)`
    `void` | SearcherLifetimeManager.`release(IndexSearcher s)` Release a searcher previously obtained from `SearcherLifetimeManager.acquire(long)`.
    `SortField` | SortField.`rewrite(IndexSearcher searcher)` Rewrites this SortField, returning a new SortField if a change is made.
    `Sort` | Sort.`rewrite(IndexSearcher searcher)` Rewrites the SortFields in this Sort, returning a new Sort if any of the fields changes during their rewriting.
    `protected boolean` | SearcherManager.`tryIncRef(IndexSearcher reference)`
    `protected boolean` | NRTManager.`tryIncRef(IndexSearcher reference)`

    Constructors in org.apache.lucene.search with parameters of type IndexSearcher
    Constructor and Description
    `BooleanQuery.BooleanWeight(IndexSearcher searcher, boolean disableCoord)`
    `ConstantScoreQuery.ConstantWeight(IndexSearcher searcher)`
    `DisjunctionMaxQuery.DisjunctionMaxWeight(IndexSearcher searcher)` Construct the Weight for this Query searched by searcher.

    Constructor parameters in org.apache.lucene.search with type arguments of type IndexSearcher
    Constructor and Description
    `LiveFieldValues(ReferenceManager<IndexSearcher> mgr, T missingValue)`

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

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

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

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

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

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

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