Package | Description |
---|---|
org.springframework.data.solr.core.query |
Query abstractions for
SolrQuery . |
org.springframework.data.solr.repository.query |
Apache Solr specific repository query methods and executions.
|
Modifier and Type | Method and Description |
---|---|
SpellcheckOptions |
SpellcheckOptions.accuracy(float nr)
Specifies an accuracy value to be used by the spell checking implementation to decide whether a result is
worthwhile or not.
|
SpellcheckOptions |
SpellcheckOptions.alternativeTermCount(long nr)
The count of suggestions to return for each query term existing in the index and/or dictionary.
|
SpellcheckOptions |
SpellcheckOptions.buildDictionary()
If set, Solr creates the dictionary that the SolrSpellChecker will use for spell-checking.
|
SpellcheckOptions |
SpellcheckOptions.collate()
If set, Solr will take the best suggestion for each token (if one exists) and construct a new query from the
suggestions.
|
SpellcheckOptions |
SpellcheckOptions.collateExtendedResults()
Instructs Solr to return an expanded response format detailing the collations found.
|
SpellcheckOptions |
SpellcheckOptions.collateParam(String param,
Object value)
This parameter prefix can be used to specify any additional parameters that you wish to the Spellchecker to use
when internally validating collation queries.
|
SpellcheckOptions |
SpellcheckOptions.count(long nr)
Specifies the maximum number of spelling suggestions to be returned.
|
SpellcheckOptions |
SpellcheckOptions.dictionaries(String... names)
This parameter causes Solr to use the dictionary named in the parameter's argument.
|
SpellcheckOptions |
SpellcheckOptions.extendedResults()
Enable the extended response format, which is more complicated but richer.
|
SpellcheckOptions |
AbstractQueryDecorator.getSpellcheckOptions() |
SpellcheckOptions |
Query.getSpellcheckOptions() |
SpellcheckOptions |
SimpleQuery.getSpellcheckOptions() |
SpellcheckOptions |
SpellcheckOptions.maxCollationCollectDocs(long nr)
This parameter specifies the maximum number of documents that should be collect when testing potential collations
against the index.
|
SpellcheckOptions |
SpellcheckOptions.maxCollationEvaluations(long evaluations)
This parameter specifies the maximum number of word correction combinations to rank and evaluate prior to deciding
which collation candidates to test against the index.
|
SpellcheckOptions |
SpellcheckOptions.maxCollations(long max)
The maximum number of collations to return.
|
SpellcheckOptions |
SpellcheckOptions.maxCollationTries(long tries)
This parameter specifies the number of collation possibilities for Solr to try before giving up.
|
SpellcheckOptions |
SpellcheckOptions.maxResultsForSuggest(long nr)
The maximum number of hits the request can return in order to both generate spelling suggestions and set the
correctlySpelled element to false.
|
SpellcheckOptions |
SpellcheckOptions.onlyMorePopular()
Limits spellcheck responses to queries that are more popular than the original query.
|
static SpellcheckOptions |
SpellcheckOptions.spellcheck()
Creates new
SpellcheckOptions . |
static SpellcheckOptions |
SpellcheckOptions.spellcheck(Query q)
Creates new
SpellcheckOptions with a given Query . |
Modifier and Type | Method and Description |
---|---|
<T extends Query> |
AbstractQueryDecorator.setSpellcheckOptions(SpellcheckOptions spellcheckOptions) |
<T extends Query> |
Query.setSpellcheckOptions(SpellcheckOptions spellcheckOptions)
Set the
SpellcheckOptions to enable spellchecking. |
<T extends Query> |
SimpleQuery.setSpellcheckOptions(SpellcheckOptions spellcheckOptions) |
Modifier and Type | Method and Description |
---|---|
SpellcheckOptions |
SolrQueryMethod.getSpellcheckOptions() |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.