Example usage for Java org.apache.solr.spelling SpellingResult fields, constructors, methods, implement or subclass
The text is from its open source code.
void | add(Token token, String suggestion, int docFreq) Suggestions must be added with the best suggestion first. |
void | addFrequency(Token token, int docFreq) Adds an original token with its document frequency |
Map | getSuggestions() All the suggestions. |
Integer | getTokenFrequency(Token token) The token frequency of the input token in the collection |
boolean | hasTokenFrequencyInfo() |