Java org.apache.solr.spelling SpellingResult fields, constructors, methods, implement or subclass

Example usage for Java org.apache.solr.spelling SpellingResult fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.solr.spelling SpellingResult.

The text is from its open source code.

Constructor

Method

voidadd(Token token, String suggestion, int docFreq)
Suggestions must be added with the best suggestion first.
voidaddFrequency(Token token, int docFreq)
Adds an original token with its document frequency
Map>getSuggestions()
All the suggestions.
IntegergetTokenFrequency(Token token)
The token frequency of the input token in the collection
booleanhasTokenFrequencyInfo()