|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.solr.client.solrj.response.SpellCheckResponse.Suggestion
public static class SpellCheckResponse.Suggestion
Constructor Summary | |
---|---|
SpellCheckResponse.Suggestion(String token,
NamedList<Object> suggestion)
|
Method Summary | |
---|---|
List<Integer> |
getAlternativeFrequencies()
The frequencies of the alternatives in the corpus, or null if this information was not returned |
List<String> |
getAlternatives()
The list of alternatives |
int |
getEndOffset()
|
int |
getNumFound()
|
int |
getOriginalFrequency()
|
int |
getStartOffset()
|
List<Integer> |
getSuggestionFrequencies()
Deprecated. |
List<String> |
getSuggestions()
Deprecated. |
String |
getToken()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpellCheckResponse.Suggestion(String token, NamedList<Object> suggestion)
Method Detail |
---|
public String getToken()
public int getNumFound()
public int getStartOffset()
public int getEndOffset()
public int getOriginalFrequency()
public List<String> getAlternatives()
public List<Integer> getAlternativeFrequencies()
@Deprecated public List<String> getSuggestions()
@Deprecated public List<Integer> getSuggestionFrequencies()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |