public class HitsImpl extends Object implements Hits
| Constructor and Description |
|---|
HitsImpl() |
public void addGroupedHits(String groupValue, Hits hits)
addGroupedHits in interface Hitspublic void addStatsResults(StatsResults statsResults)
addStatsResults in interface Hits@JSON public String getCollatedSpellCheckResult()
getCollatedSpellCheckResult in interface Hitspublic Map<String,Hits> getGroupedHits()
getGroupedHits in interface Hits@JSON public String[] getQuerySuggestions()
getQuerySuggestions in interface Hits@JSON public String[] getQueryTerms()
getQueryTerms in interface Hitspublic float getSearchTime()
getSearchTime in interface Hits@JSON public String[] getSnippets()
getSnippets in interface Hitspublic Map<String,List<String>> getSpellCheckResults()
getSpellCheckResults in interface Hitspublic Map<String,StatsResults> getStatsResults()
getStatsResults in interface Hitspublic boolean hasGroupedHits()
hasGroupedHits in interface Hitspublic void setCollatedSpellCheckResult(String collatedSpellCheckResult)
setCollatedSpellCheckResult in interface Hitspublic void setQuerySuggestions(String[] querySuggestions)
setQuerySuggestions in interface Hitspublic void setQueryTerms(String[] queryTerms)
setQueryTerms in interface Hitspublic void setSearchTime(float time)
setSearchTime in interface Hitspublic void setSnippets(String[] snippets)
setSnippets in interface Hitspublic void setSpellCheckResults(Map<String,List<String>> spellCheckResults)
setSpellCheckResults in interface Hits