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 TokenResultEntry. tokenFields in org.apache.solr.spelling with type parameters of type Token Modifier and Type Field Description Collection<Token>SpellingOptions. tokensThe tokens to spell checkMethods in org.apache.solr.spelling that return Token Modifier and Type Method Description TokenToken. clone()Deprecated.TokenSpellCheckCorrection. 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 ofTokens 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 voidSpellingResult. add(Token token, String suggestion, int docFreq)Suggestions must be added with the best suggestion first.voidSpellingResult. add(Token token, List<String> suggestions)Adds a whole bunch of suggestions, and does not worry about frequency.voidSpellingResult. 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.IntegerSpellingResult. getTokenFrequency(Token token)The token frequency of the input token in the collectionvoidSpellCheckCorrection. setOriginal(Token original)Method parameters in org.apache.solr.spelling with type arguments of type Token Modifier and Type Method Description protected voidSpellingQueryConverter. analyze(Collection<Token> result, String text, int offset, int flagsAttValue)voidSpellingResult. 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, 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, SolrParams customParams)SpellingResult(Collection<Token> tokens)
-