public class SuggesterResponse extends Object
Constructor and Description |
---|
SuggesterResponse(Map<String,NamedList<Object>> suggestInfo) |
Modifier and Type | Method and 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 payload
|
Map<String,List<Suggestion>> |
getSuggestions()
get the suggestions provided by each
|
public Map<String,List<Suggestion>> getSuggestions()
public Map<String,List<String>> getSuggestedTerms()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.