Package org.apache.solr.spelling
package org.apache.solr.spelling
APIs and classes used by the
SpellCheckComponent
See
and
invalid reference
org.apache.lucene.search.spell
for
additional information.invalid reference
org.apache.lucene.search.suggest
-
ClassDescriptionAbstract base class for all Lucene-based spell checking implementations.This class lets a query be run through multiple spell checkers.Spellchecker implementation that uses
DirectSpellCheckerA spell checker implementation that loads words from a text file (one word per line).A spell checker implementation that loads words from Solr as well as arbitrary Lucene indices.Given a list of possible Spelling Corrections for multiple mis-spelled words in a query, This iterator returns Possible Correction combinations ordered by reasonable probability that such a combination will return actual hits if re-queried.The QueryConverter is an abstract base class defining a method for converting input "raw" queries into a set of tokens for spell checking.Refer to https://solr.apache.org/guide/solr/latest/query-guide/spell-checking.html for more details.Converts the query string to a Collection of Lucene tokens using a regular expression.Implementations of SolrSpellChecker must return suggestions as SpellResult instance.Passes the entire query string to the configured analyzer as-is.Deprecated.A spellchecker that breaks and combines words.Specify a value on the "breakSuggestionTieBreaker" parameter.