Modifier and Type | Method and Description |
---|---|
SolrIndexSearcher |
SolrCore.newSearcher(String name) |
SolrIndexSearcher |
SolrCore.newSearcher(String name,
boolean readOnly) |
Modifier and Type | Method and Description |
---|---|
RefCounted<SolrIndexSearcher> |
SolrCore.getNewestSearcher(boolean openNew)
Return the newest
RefCounted <SolrIndexSearcher > with
the reference count incremented. |
RefCounted<SolrIndexSearcher> |
SolrCore.getSearcher()
Return a registered
RefCounted <SolrIndexSearcher > with
the reference count incremented. |
RefCounted<SolrIndexSearcher> |
SolrCore.getSearcher(boolean forceNew,
boolean returnSearcher,
Future[] waitSearcher)
Get a
SolrIndexSearcher or start the process of creating a new one. |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
MoreLikeThisHandler.MoreLikeThisHelper(SolrParams params,
SolrIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
protected void |
QueryComponent.doFieldSortValues(ResponseBuilder rb,
SolrIndexSearcher searcher) |
Modifier and Type | Field and Description |
---|---|
protected SolrIndexSearcher |
SimpleFacets.searcher
Searcher to use for all calculations
|
Modifier and Type | Field and Description |
---|---|
protected RefCounted<SolrIndexSearcher> |
SolrQueryRequestBase.searcherHolder |
Modifier and Type | Method and Description |
---|---|
SolrIndexSearcher |
SolrQueryRequestBase.getSearcher() |
SolrIndexSearcher |
SolrQueryRequest.getSearcher()
The index searcher associated with this request
|
Modifier and Type | Method and Description |
---|---|
NamedList |
UnInvertedField.getCounts(SolrIndexSearcher searcher,
DocSet baseDocs,
int offset,
int limit,
Integer mincount,
boolean missing,
String sort,
String prefix) |
NamedList |
SimpleFacets.getFacetTermEnumCounts(SolrIndexSearcher searcher,
DocSet docs,
String field,
int offset,
int limit,
int mincount,
boolean missing,
String sort,
String prefix)
Returns a list of terms in the specified field along with the
corresponding count of documents in the set that match that constraint.
|
static NamedList |
SimpleFacets.getFieldCacheCounts(SolrIndexSearcher searcher,
DocSet docs,
String fieldName,
int offset,
int limit,
int mincount,
boolean missing,
String sort,
String prefix)
Use the Lucene FieldCache to get counts for each unique field value in
docs . |
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.
|
StatsValues |
UnInvertedField.getStats(SolrIndexSearcher searcher,
DocSet baseDocs,
String[] facet)
Collect statistics about the UninvertedField.
|
static UnInvertedField |
UnInvertedField.getUnInvertedField(String field,
SolrIndexSearcher searcher) |
Constructor and Description |
---|
UnInvertedField(String field,
SolrIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
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 |
LFUCache.warm(SolrIndexSearcher searcher,
SolrCache old) |
void |
FastLRUCache.warm(SolrIndexSearcher searcher,
SolrCache old) |
void |
SolrCache.warm(SolrIndexSearcher searcher,
SolrCache<K,V> old)
Warm this cache associated with
searcher using the old
cache object. |
void |
LRUCache.warm(SolrIndexSearcher searcher,
SolrCache<K,V> old) |
Constructor and Description |
---|
Grouping(SolrIndexSearcher searcher,
SolrIndexSearcher.QueryResult qr,
SolrIndexSearcher.QueryCommand cmd,
boolean cacheSecondPassSearch,
int maxDocsPercentageToCache,
boolean main) |
Modifier and Type | Method and Description |
---|---|
CommandHandler.Builder |
CommandHandler.Builder.setSearcher(SolrIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
QueryCommand.Builder |
QueryCommand.Builder.setDocSet(SolrIndexSearcher searcher)
Sets the docSet based on the created
DocSet |
Constructor and Description |
---|
SearchGroupsResultTransformer(SolrIndexSearcher searcher) |
Constructor and Description |
---|
GroupedEndResultTransformer(SolrIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
abstract void |
SolrSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher)
(re)Builds the spelling index.
|
void |
IndexBasedSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
void |
FileBasedSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
abstract void |
SolrSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher)
Reloads the index.
|
void |
IndexBasedSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
void |
AbstractLuceneSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
void |
Suggester.build(SolrCore core,
SolrIndexSearcher searcher) |
void |
Suggester.reload(SolrCore core,
SolrIndexSearcher searcher) |
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 |
SolrPluginUtils.getExplainList(org.apache.lucene.search.Query query,
DocList docs,
SolrIndexSearcher searcher,
IndexSchema schema)
Deprecated.
this returns the explanations as Strings, instead it
is recommeded to use getExplanations and call toString()
yourself, or use explanationsToNamedLists
|
static NamedList<org.apache.lucene.search.Explanation> |
SolrPluginUtils.getExplanations(org.apache.lucene.search.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,
org.apache.lucene.search.Query q,
org.apache.lucene.search.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) |