## Uses of Class
org.apache.solr.search.SolrIndexSearcher

- Packages that use SolrIndexSearcher
  Package | Description
  --- | ---
  org.apache.solr.core | Core classes implementing Solr internals and the management of `SolrCore`s
  org.apache.solr.handler | Concrete implementations of `SolrRequestHandler`
  org.apache.solr.handler.component | `SearchComponent` implementations for use in `SearchHandler`
  org.apache.solr.highlight | `SolrHighlighter` API and related implementations and utilities
  org.apache.solr.query | Solr Queries
  org.apache.solr.request | APIs and classes for dealing with Solr requests
  org.apache.solr.response | API and implementations of `QueryResponseWriter` for formatting Solr request responses
  org.apache.solr.schema | `IndexSchema` and `FieldType` implementations for powering schema.xml
  org.apache.solr.search | APIs and classes for parsing and processing search requests
  org.apache.solr.search.facet | APIs and classes for the JSON Facet API.
  org.apache.solr.search.grouping | APIs and classes for implementing result grouping
  org.apache.solr.search.grouping.distributed.command | Internal classes used to implement distributed result grouping
  org.apache.solr.search.grouping.distributed.shardresultserializer | Internal classes used to implement distributed result grouping
  org.apache.solr.search.grouping.endresulttransformer | APIs and classes for transforming result grouping results into the appropriate response format
  org.apache.solr.search.join | Classes related to joins.
  org.apache.solr.search.stats | APIs and Classes implementing the Stats component used for document frequency calculations.
  org.apache.solr.spelling | APIs and classes used by the `SpellCheckComponent`
  org.apache.solr.spelling.suggest | APIs and classes used by the `SpellCheckComponent`
  org.apache.solr.update | APIs and classes for managing index updates
  org.apache.solr.util | Common utility classes used throughout Solr

- - ### Uses of SolrIndexSearcher in org.apache.solr.core

    Methods in org.apache.solr.core that return types with arguments of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `RefCounted<SolrIndexSearcher>` | SolrCore.`getNewestSearcher(boolean openNew)` Return the newest normal `RefCounted`<`SolrIndexSearcher`> with the reference count incremented.
    `RefCounted<SolrIndexSearcher>` | SolrCore.`getRealtimeSearcher()` Gets the latest real-time searcher w/o forcing open a new searcher if one already exists.
    `RefCounted<SolrIndexSearcher>` | SolrCore.`getRegisteredSearcher()` Returns the current registered searcher with its reference count incremented, or null if none are registered.
    `RefCounted<SolrIndexSearcher>` | SolrCore.`getSearcher()` Return a registered `RefCounted`<`SolrIndexSearcher`> with the reference count incremented.
    `RefCounted<SolrIndexSearcher>` | SolrCore.`getSearcher(boolean forceNew, boolean returnSearcher, Future[] waitSearcher)`
    `RefCounted<SolrIndexSearcher>` | SolrCore.`getSearcher(boolean forceNew, boolean returnSearcher, Future[] waitSearcher, boolean updateHandlerReopens)` Get a `SolrIndexSearcher` or start the process of creating a new one.
    `RefCounted<SolrIndexSearcher>` | SolrCore.`openNewSearcher(boolean updateHandlerReopens, boolean realtime)` Opens a new searcher and returns a RefCounted<SolrIndexSearcher> with its reference incremented.

    Methods in org.apache.solr.core with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `protected NamedList` | AbstractSolrEventListener.`addEventParms(SolrIndexSearcher currentSearcher, NamedList nlst)` Add the `EventParams.EVENT` with either the `EventParams.NEW_SEARCHER` or `EventParams.FIRST_SEARCHER` values depending on the value of currentSearcher.
    `IndexFingerprint` | SolrCore.`getIndexFingerprint(SolrIndexSearcher searcher, LeafReaderContext ctx, long maxVersion)` Computes fingerprint of a segment and caches it only if all the version in segment are included in the fingerprint.
    `void` | QuerySenderListener.`newSearcher(SolrIndexSearcher newSearcher, SolrIndexSearcher currentSearcher)`
    `void` | SolrEventListener.`newSearcher(SolrIndexSearcher newSearcher, SolrIndexSearcher currentSearcher)` The searchers passed here are only guaranteed to be valid for the duration of this method call, so care should be taken not to spawn threads or asynchronous tasks with references to these searchers.
    `void` | AbstractSolrEventListener.`newSearcher(SolrIndexSearcher newSearcher, SolrIndexSearcher currentSearcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.handler

    Constructors in org.apache.solr.handler with parameters of type SolrIndexSearcher
    Constructor and Description
    `MoreLikeThisHelper(SolrParams params, SolrIndexSearcher searcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.handler.component

    Methods in org.apache.solr.handler.component that return SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `SolrIndexSearcher` | StatsField.`getSearcher()` The searcher that should be used for processing local stats

    Methods in org.apache.solr.handler.component with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | QueryComponent.`doFieldSortValues(ResponseBuilder rb, SolrIndexSearcher searcher)`
    `static com.carrotsearch.hppc.IntIntHashMap` | QueryElevationComponent.`getBoostDocs(SolrIndexSearcher indexSearcher, Map<BytesRef,Integer> boosted, Map context)`
    `void` | MergeStrategy.`handleMergeFields(ResponseBuilder rb, SolrIndexSearcher searcher)` Implement handleMergeFields(ResponseBuilder rb, SolrIndexSearch searcher) if your merge strategy needs more complex data then the sort fields provide.
    `void` | IterativeMergeStrategy.`handleMergeFields(ResponseBuilder rb, SolrIndexSearcher searcher)`
    `protected void` | ResponseLogComponent.`processIds(ResponseBuilder rb, DocList dl, IndexSchema schema, SolrIndexSearcher searcher)`
    `protected void` | ResponseLogComponent.`processScores(ResponseBuilder rb, DocList dl, IndexSchema schema, SolrIndexSearcher searcher)`

    Constructors in org.apache.solr.handler.component with parameters of type SolrIndexSearcher
    Constructor and Description
    `FieldFacetStats(SolrIndexSearcher searcher, SchemaField facet_sf, StatsField statsField)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.highlight

    Methods in org.apache.solr.highlight with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `protected String[]` | PostingsSolrHighlighter.`getUniqueKeys(SolrIndexSearcher searcher, int[] docIDs)` Retrieves the unique keys for the topdocs to key the results

  - ### Uses of SolrIndexSearcher in org.apache.solr.query

    Methods in org.apache.solr.query with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `DocSet` | SolrRangeQuery.`createDocSet(SolrIndexSearcher searcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.request

    Fields in org.apache.solr.request declared as SolrIndexSearcher
    Modifier and Type | Field and Description
    --- | ---
    `protected SolrIndexSearcher` | SimpleFacets.`searcher` Searcher to use for all calculations

    Fields in org.apache.solr.request with type parameters of type SolrIndexSearcher
    Modifier and Type | Field and Description
    --- | ---
    `protected RefCounted<SolrIndexSearcher>` | SolrQueryRequestBase.`searcherHolder`

    Methods in org.apache.solr.request that return SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `SolrIndexSearcher` | SolrQueryRequest.`getSearcher()` The index searcher associated with this request
    `SolrIndexSearcher` | SolrQueryRequestBase.`getSearcher()`

    Methods in org.apache.solr.request with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `static NamedList<Integer>` | DocValuesFacets.`getCounts(SolrIndexSearcher searcher, DocSet docs, String fieldName, int offset, int limit, int mincount, boolean missing, String sort, String prefix, String contains, boolean ignoreCase, FacetDebugInfo fdebug)`
    `static StatsValues` | DocValuesStats.`getCounts(SolrIndexSearcher searcher, StatsField statsField, DocSet docs, String[] facet)`
    `NamedList<Integer>` | SimpleFacets.`getFacetTermEnumCounts(SolrIndexSearcher searcher, DocSet docs, String field, int offset, int limit, int mincount, boolean missing, String sort, String prefix, String contains, boolean ignoreCase, boolean intersectsCheck)` Returns a list of terms in the specified field along with the corresponding count of documents in the set that match that constraint.
    `static int` | SimpleFacets.`getFieldMissingCount(SolrIndexSearcher searcher, DocSet docs, String fieldName)` Returns a count of the documents in the set which do not have any terms for for the specified field.
    `NamedList<Integer>` | SimpleFacets.`getGroupedCounts(SolrIndexSearcher searcher, DocSet base, String field, boolean multiToken, int offset, int limit, int mincount, boolean missing, String sort, String prefix, String contains, boolean ignoreCase)`

    Constructors in org.apache.solr.request with parameters of type SolrIndexSearcher
    Constructor and Description
    `IntervalFacets(SchemaField schemaField, SolrIndexSearcher searcher, DocSet docs, IntervalFacets.FacetInterval[] intervals)` Constructor that accepts an already constructed array of `IntervalFacets.FacetInterval` objects.
    `IntervalFacets(SchemaField schemaField, SolrIndexSearcher searcher, DocSet docs, String[] intervals, SolrParams params)` Constructor that accepts un-parsed intervals using "interval faceting" syntax.

  - ### Uses of SolrIndexSearcher in org.apache.solr.response

    Methods in org.apache.solr.response that return SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `abstract SolrIndexSearcher` | ResultContext.`getSearcher()`
    `SolrIndexSearcher` | BasicResultContext.`getSearcher()`

    Methods in org.apache.solr.response with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `protected SortingResponseWriter.FieldWriter[]` | SortingResponseWriter.`getFieldWriters(String[] fields, SolrIndexSearcher searcher)`

    Constructors in org.apache.solr.response with parameters of type SolrIndexSearcher
    Constructor and Description
    `BasicResultContext(DocList docList, ReturnFields returnFields, SolrIndexSearcher searcher, Query query, SolrQueryRequest req)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.schema

    Methods in org.apache.solr.schema with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExternalFileFieldReloader.`newSearcher(SolrIndexSearcher newSearcher, SolrIndexSearcher currentSearcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.search

    Methods in org.apache.solr.search that return SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `SolrIndexSearcher` | QueryContext.`searcher()`

    Methods in org.apache.solr.search with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `DocSet` | DocSetProducer.`createDocSet(SolrIndexSearcher searcher)`
    `static DocSet` | DocSetUtil.`createDocSet(SolrIndexSearcher searcher, Query query, DocSet filter)`
    `static DocSet` | DocSetUtil.`createDocSet(SolrIndexSearcher searcher, Term term)`
    `static DocSet` | DocSetUtil.`createDocSetGeneric(SolrIndexSearcher searcher, Query query)`
    `boolean` | NoOpRegenerator.`regenerateItem(SolrIndexSearcher newSearcher, SolrCache newCache, SolrCache oldCache, Object oldKey, Object oldVal)`
    `boolean` | CacheRegenerator.`regenerateItem(SolrIndexSearcher newSearcher, SolrCache newCache, SolrCache oldCache, Object oldKey, Object oldVal)` Regenerate an old cache item and insert it into `newCache`
    `void` | SolrIndexSearcher.`warm(SolrIndexSearcher old)` Warm this searcher based on an old one (primarily for auto-cache warming).
    `void` | FastLRUCache.`warm(SolrIndexSearcher searcher, SolrCache old)`
    `void` | LFUCache.`warm(SolrIndexSearcher searcher, SolrCache old)`
    `void` | LRUCache.`warm(SolrIndexSearcher searcher, SolrCache<K,V> old)`
    `void` | SolrCache.`warm(SolrIndexSearcher searcher, SolrCache<K,V> old)` Warm this cache associated with `searcher` using the `old` cache object.

    Constructors in org.apache.solr.search with parameters of type SolrIndexSearcher
    Constructor and Description
    `Grouping(SolrIndexSearcher searcher, QueryResult qr, QueryCommand cmd, boolean cacheSecondPassSearch, int maxDocsPercentageToCache, boolean main)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.search.facet

    Methods in org.apache.solr.search.facet with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `static SortedDocValues` | FieldUtil.`getSortedDocValues(SolrIndexSearcher searcher, String field)` Simpler method that creates a request context and looks up the field for you
    `static UnInvertedField` | UnInvertedField.`getUnInvertedField(String field, SolrIndexSearcher searcher)`

    Constructors in org.apache.solr.search.facet with parameters of type SolrIndexSearcher
    Constructor and Description
    `UnInvertedField(String field, SolrIndexSearcher searcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.search.grouping

    Methods in org.apache.solr.search.grouping with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `CommandHandler.Builder` | CommandHandler.Builder.`setSearcher(SolrIndexSearcher searcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.search.grouping.distributed.command

    Methods in org.apache.solr.search.grouping.distributed.command with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `QueryCommand.Builder` | QueryCommand.Builder.`setDocSet(SolrIndexSearcher searcher)` Sets the docSet based on the created `DocSet`

  - ### Uses of SolrIndexSearcher in org.apache.solr.search.grouping.distributed.shardresultserializer

    Constructors in org.apache.solr.search.grouping.distributed.shardresultserializer with parameters of type SolrIndexSearcher
    Constructor and Description
    `SearchGroupsResultTransformer(SolrIndexSearcher searcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.search.grouping.endresulttransformer

    Constructors in org.apache.solr.search.grouping.endresulttransformer with parameters of type SolrIndexSearcher
    Constructor and Description
    `GroupedEndResultTransformer(SolrIndexSearcher searcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.search.join

    Constructors in org.apache.solr.search.join with parameters of type SolrIndexSearcher
    Constructor and Description
    `GraphQueryWeight(SolrIndexSearcher searcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.search.stats

    Methods in org.apache.solr.search.stats with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `CollectionStatistics` | LocalStatsSource.`collectionStatistics(SolrIndexSearcher localSearcher, String field)`
    `abstract CollectionStatistics` | StatsSource.`collectionStatistics(SolrIndexSearcher localSearcher, String field)`
    `CollectionStatistics` | ExactStatsCache.ExactStatsSource.`collectionStatistics(SolrIndexSearcher localSearcher, String field)`
    `abstract void` | StatsCache.`returnLocalStats(ResponseBuilder rb, SolrIndexSearcher searcher)` Prepare a local (from the local shard) response to a "retrieve stats" shard request.
    `void` | LocalStatsCache.`returnLocalStats(ResponseBuilder rb, SolrIndexSearcher searcher)`
    `void` | ExactStatsCache.`returnLocalStats(ResponseBuilder rb, SolrIndexSearcher searcher)`
    `TermStatistics` | LocalStatsSource.`termStatistics(SolrIndexSearcher localSearcher, Term term, TermContext context)`
    `abstract TermStatistics` | StatsSource.`termStatistics(SolrIndexSearcher localSearcher, Term term, TermContext context)`
    `TermStatistics` | ExactStatsCache.ExactStatsSource.`termStatistics(SolrIndexSearcher localSearcher, Term term, TermContext context)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.spelling

    Methods in org.apache.solr.spelling with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `void` | WordBreakSolrSpellChecker.`build(SolrCore core, SolrIndexSearcher searcher)`
    `void` | FileBasedSpellChecker.`build(SolrCore core, SolrIndexSearcher searcher)`
    `void` | IndexBasedSpellChecker.`build(SolrCore core, SolrIndexSearcher searcher)`
    `void` | ConjunctionSolrSpellChecker.`build(SolrCore core, SolrIndexSearcher searcher)`
    `void` | DirectSolrSpellChecker.`build(SolrCore core, SolrIndexSearcher searcher)`
    `abstract void` | SolrSpellChecker.`build(SolrCore core, SolrIndexSearcher searcher)` (re)Builds the spelling index.
    `void` | WordBreakSolrSpellChecker.`reload(SolrCore core, SolrIndexSearcher searcher)`
    `void` | AbstractLuceneSpellChecker.`reload(SolrCore core, SolrIndexSearcher searcher)`
    `void` | IndexBasedSpellChecker.`reload(SolrCore core, SolrIndexSearcher searcher)`
    `void` | ConjunctionSolrSpellChecker.`reload(SolrCore core, SolrIndexSearcher searcher)`
    `void` | DirectSolrSpellChecker.`reload(SolrCore core, SolrIndexSearcher searcher)`
    `abstract void` | SolrSpellChecker.`reload(SolrCore core, SolrIndexSearcher searcher)` Reloads the index.

  - ### Uses of SolrIndexSearcher in org.apache.solr.spelling.suggest

    Methods in org.apache.solr.spelling.suggest with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `void` | SolrSuggester.`build(SolrCore core, SolrIndexSearcher searcher)` Build the underlying Lucene Suggester
    `void` | Suggester.`build(SolrCore core, SolrIndexSearcher searcher)`
    `Dictionary` | HighFrequencyDictionaryFactory.`create(SolrCore core, SolrIndexSearcher searcher)`
    `Dictionary` | DocumentExpressionDictionaryFactory.`create(SolrCore core, SolrIndexSearcher searcher)`
    `abstract Dictionary` | DictionaryFactory.`create(SolrCore core, SolrIndexSearcher searcher)` Create a Dictionary using options in `core` and optionally uses `searcher`, in case of index based dictionaries
    `Dictionary` | FileDictionaryFactory.`create(SolrCore core, SolrIndexSearcher searcher)`
    `Dictionary` | DocumentDictionaryFactory.`create(SolrCore core, SolrIndexSearcher searcher)`
    `void` | SolrSuggester.`reload(SolrCore core, SolrIndexSearcher searcher)` Reloads the underlying Lucene Suggester
    `void` | Suggester.`reload(SolrCore core, SolrIndexSearcher searcher)`

  - ### Uses of SolrIndexSearcher in org.apache.solr.update

    Methods in org.apache.solr.update with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `static IndexFingerprint` | IndexFingerprint.`getFingerprint(SolrIndexSearcher searcher, LeafReaderContext ctx, Long maxVersion)`
    `void` | UpdateLog.`seedBucketsWithHighestVersion(SolrIndexSearcher newSearcher)`
    `protected Long` | UpdateLog.`seedBucketsWithHighestVersion(SolrIndexSearcher newSearcher, VersionInfo versions)` Used to seed all version buckets with the max value of the version field in the index.

  - ### Uses of SolrIndexSearcher in org.apache.solr.util

    Methods in org.apache.solr.util with parameters of type SolrIndexSearcher
    Modifier and Type | Method and Description
    --- | ---
    `static SolrDocumentList` | SolrPluginUtils.`docListToSolrDocumentList(DocList docs, SolrIndexSearcher searcher, Set<String> fields, Map<SolrDocument,Integer> ids)` Convert a DocList to a SolrDocumentList The optional param "ids" is populated with the lucene document id for each SolrDocument.
    `static NamedList<Explanation>` | SolrPluginUtils.`getExplanations(Query query, DocList docs, SolrIndexSearcher searcher, IndexSchema schema)` Generates an NamedList of Explanations for each item in a list of docs.
    `static int` | SolrPluginUtils.`numDocs(SolrIndexSearcher s, Query q, Query f)` SolrIndexSearch.numDocs(Query,Query) freaks out if the filtering query is null, so we use this workarround.
    `boolean` | SolrPluginUtils.IdentityRegenerator.`regenerateItem(SolrIndexSearcher newSearcher, SolrCache newCache, SolrCache oldCache, Object oldKey, Object oldVal)`

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