Class SuggesterResponse
- java.lang.Object
 - 
- org.apache.solr.client.solrj.response.SuggesterResponse
 
 
- 
public class SuggesterResponse extends Object
Encapsulates responses from the Suggester Component 
- 
- 
Constructor Summary
Constructors Constructor Description SuggesterResponse(Map<String,NamedList<Object>> suggestInfo) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<String>>getSuggestedTerms()This getter is lazily initialized and returns a simplified map dictionary : List of suggested terms This is useful for simple use cases when you simply need the suggested terms and no weight or payloadMap<String,List<Suggestion>>getSuggestions()get the suggestions provided by each 
 - 
 
- 
- 
Method Detail
- 
getSuggestions
public Map<String,List<Suggestion>> getSuggestions()
get the suggestions provided by each- Returns:
 - a Map dictionary name : List of Suggestion
 
 
- 
getSuggestedTerms
public Map<String,List<String>> getSuggestedTerms()
This getter is lazily initialized and returns a simplified map dictionary : List of suggested terms This is useful for simple use cases when you simply need the suggested terms and no weight or payload- Returns:
 - a Map dictionary name : List of suggested terms
 
 
 - 
 
 -