Uses of Class
org.apache.solr.spelling.Token
-
Packages that use Token Package Description org.apache.solr.spelling APIs and classes used by theSpellCheckComponent
-
-
Uses of Token in org.apache.solr.spelling
Fields in org.apache.solr.spelling declared as Token Modifier and Type Field Description Token
ResultEntry. token
Fields in org.apache.solr.spelling with type parameters of type Token Modifier and Type Field Description Collection<Token>
SpellingOptions. tokens
The tokens to spell checkMethods in org.apache.solr.spelling that return Token Modifier and Type Method Description Token
Token. clone()
Deprecated.Token
SpellCheckCorrection. getOriginal()
Methods in org.apache.solr.spelling that return types with arguments of type Token Modifier and Type Method Description abstract Collection<Token>
QueryConverter. convert(String original)
Returns the Collection ofToken
s for the query.Collection<Token>
SpellingQueryConverter. convert(String original)
Converts the original query string to a collection of Lucene Tokens.Collection<Token>
SuggestQueryConverter. convert(String original)
Map<Token,LinkedHashMap<String,Integer>>
SpellingResult. getSuggestions()
All the suggestions.Map<Token,Integer>
SpellingResult. getTokenFrequency()
Collection<Token>
SpellingResult. getTokens()
Methods in org.apache.solr.spelling with parameters of type Token Modifier and Type Method Description void
SpellingResult. add(Token token, String suggestion, int docFreq)
Suggestions must be added with the best suggestion first.void
SpellingResult. add(Token token, List<String> suggestions)
Adds a whole bunch of suggestions, and does not worry about frequency.void
SpellingResult. addFrequency(Token token, int docFreq)
Adds an original token with its document frequencyLinkedHashMap<String,Integer>
SpellingResult. get(Token token)
Gets the suggestions for the given token.Integer
SpellingResult. getTokenFrequency(Token token)
The token frequency of the input token in the collectionvoid
SpellCheckCorrection. setOriginal(Token original)
Method parameters in org.apache.solr.spelling with type arguments of type Token Modifier and Type Method Description protected void
SpellingQueryConverter. analyze(Collection<Token> result, String text, int offset, int flagsAttValue)
void
SpellingResult. setTokens(Collection<Token> tokens)
Constructor parameters in org.apache.solr.spelling with type arguments of type Token Constructor Description PossibilityIterator(Map<Token,LinkedHashMap<String,Integer>> suggestions, int maximumRequiredSuggestions, int maxEvaluations, boolean overlap)
We assume here that the passed-in inner LinkedHashMaps are already sorted in order of "Best Possible Correction".SpellingOptions(Collection<Token> tokens, int count)
SpellingOptions(Collection<Token> tokens, org.apache.lucene.index.IndexReader reader)
SpellingOptions(Collection<Token> tokens, org.apache.lucene.index.IndexReader reader, int count)
SpellingOptions(Collection<Token> tokens, org.apache.lucene.index.IndexReader reader, int count, int alternativeTermCount, org.apache.lucene.search.spell.SuggestMode suggestMode, boolean extendedResults, float accuracy, org.apache.solr.common.params.SolrParams customParams)
SpellingOptions(Collection<Token> tokens, org.apache.lucene.index.IndexReader reader, int count, org.apache.lucene.search.spell.SuggestMode suggestMode, boolean extendedResults, float accuracy, org.apache.solr.common.params.SolrParams customParams)
SpellingResult(Collection<Token> tokens)
-