Package org.apache.solr.spelling
APIs and classes used by the
SpellCheckComponent
See org.apache.lucene.search.spell
and org.apache.lucene.search.suggest
for additional information.
-
Class Summary Class Description AbstractLuceneSpellChecker Abstract base class for all Lucene-based spell checking implementations.ConjunctionSolrSpellChecker This class lets a query be run through multiple spell checkers.DirectSolrSpellChecker Spellchecker implementation that usesDirectSpellChecker
FileBasedSpellChecker A spell checker implementation that loads words from a text file (one word per line).IndexBasedSpellChecker A spell checker implementation that loads words from Solr as well as arbitrary Lucene indices.PossibilityIterator 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.PossibilityIterator.RankedSpellPossibility QueryConverter The QueryConverter is an abstract base class defining a method for converting input "raw" queries into a set of tokens for spell checking.ResultEntry SolrSpellChecker Refer to SpellCheckComponent for more details.SpellCheckCollation SpellCheckCollator SpellCheckCorrection SpellingOptions SpellingQueryConverter Converts the query string to a Collection of Lucene tokens using a regular expression.SpellingResult Implementations of SolrSpellChecker must return suggestions as SpellResult instance.SuggestQueryConverter Passes the entire query string to the configured analyzer as-is.Token Deprecated. WordBreakSolrSpellChecker A spellchecker that breaks and combines words. -
Enum Summary Enum Description WordBreakSolrSpellChecker.BreakSuggestionTieBreaker Specify a value on the "breakSugestionTieBreaker" parameter.