Interface SpellcheckQueryResult
- All Known Subinterfaces:
SpellcheckedPage<T>
- All Known Implementing Classes:
SolrResultPage
public interface SpellcheckQueryResult
- Since:
- 2.1
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSuggestions(String term, List<SpellcheckQueryResult.Alternative> suggestions) Get allSpellcheckQueryResult.Alternatives;getAlternatives(String term) Get theSpellcheckQueryResult.Alternatives for a given term.Get all suggestions.getSuggestions(String term) Get the suggestions for a given term.
-
Method Details
-
getAlternatives
Collection<SpellcheckQueryResult.Alternative> getAlternatives()Get allSpellcheckQueryResult.Alternatives;- Returns:
- never null.
-
getAlternatives
Get theSpellcheckQueryResult.Alternatives for a given term.- Parameters:
term- must not be null.- Returns:
- never null.
-
getSuggestions
Collection<String> getSuggestions()Get all suggestions.- Returns:
- never null.
-
getSuggestions
Get the suggestions for a given term.- Parameters:
term- must not be null.- Returns:
- never null.
-
addSuggestions
-