Class SuggesterResponse
java.lang.Object
org.apache.solr.client.solrj.response.SuggesterResponse
Encapsulates responses from the Suggester Component
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis 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 payloadget the suggestions provided by each
-
Constructor Details
-
SuggesterResponse
-
-
Method Details
-
getSuggestions
get the suggestions provided by each- Returns:
- a Map dictionary name : List of Suggestion
-
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
-