Class SpellCheckResponse
java.lang.Object
org.apache.solr.client.solrj.response.SpellCheckResponse
Encapsulates responses from SpellCheckComponent
- Since:
- solr 1.3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the first collated query string.Return all collations.getFirstSuggestion(String token) getSuggestion(String token) boolean
-
Constructor Details
-
SpellCheckResponse
-
-
Method Details
-
isCorrectlySpelled
public boolean isCorrectlySpelled() -
getSuggestions
-
getSuggestionMap
-
getSuggestion
-
getFirstSuggestion
-
getCollatedResult
Return the first collated query string. For convenience and backwards-compatibility. Use getCollatedResults() for full data.- Returns:
- first collated query string
-
getCollatedResults
Return all collations. Will include # of hits and misspelling-to-correction details if "spellcheck.collateExtendedResults was true.- Returns:
- all collations
-