public class SuggesterResult extends Object
SolrSuggester| Constructor and Description | 
|---|
| SuggesterResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(String suggesterName,
   String token,
   List<Lookup.LookupResult> results)Add suggestion results for  token | 
| List<Lookup.LookupResult> | getLookupResult(String suggesterName,
               String token)Get a list of lookup result for a given  tokennull can be returned, if there are no lookup results
 for thetoken | 
| Set<String> | getSuggesterNames()Get the set of suggesterNames for which this
 instance holds results | 
| Set<String> | getTokens(String suggesterName)Get the set of tokens that are present in the
 instance | 
public void add(String suggesterName, String token, List<Lookup.LookupResult> results)
tokenpublic List<Lookup.LookupResult> getLookupResult(String suggesterName, String token)
token
 null can be returned, if there are no lookup results
 for the tokenpublic Set<String> getTokens(String suggesterName)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.