public interface Hits
extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addGroupedHits(String groupValue,
Hits hits) |
void |
addStatsResults(StatsResults statsResults) |
void |
copy(Hits hits) |
Document |
doc(int n) |
String |
getCollatedSpellCheckResult() |
Document[] |
getDocs() |
Map<String,Hits> |
getGroupedHits() |
int |
getLength() |
Query |
getQuery() |
String[] |
getQuerySuggestions() |
String[] |
getQueryTerms() |
float[] |
getScores() |
float |
getSearchTime() |
String[] |
getSnippets() |
Map<String,List<String>> |
getSpellCheckResults() |
long |
getStart() |
Map<String,StatsResults> |
getStatsResults() |
boolean |
hasGroupedHits() |
float |
score(int n) |
void |
setCollatedSpellCheckResult(String collatedSpellCheckResult) |
void |
setDocs(Document[] docs) |
void |
setLength(int length) |
void |
setQuery(Query query) |
void |
setQuerySuggestions(String[] querySuggestions) |
void |
setQueryTerms(String[] queryTerms) |
void |
setScores(float[] scores) |
void |
setSearchTime(float time) |
void |
setSnippets(String[] snippets) |
void |
setSpellCheckResults(Map<String,List<String>> spellCheckResults) |
void |
setStart(long start) |
String |
snippet(int n) |
List<Document> |
toList() |
void addGroupedHits(String groupValue, Hits hits)
void addStatsResults(StatsResults statsResults)
void copy(Hits hits)
Document doc(int n)
String getCollatedSpellCheckResult()
Document[] getDocs()
Map<String,Hits> getGroupedHits()
int getLength()
Query getQuery()
String[] getQuerySuggestions()
String[] getQueryTerms()
float[] getScores()
float getSearchTime()
String[] getSnippets()
Map<String,List<String>> getSpellCheckResults()
long getStart()
Map<String,StatsResults> getStatsResults()
boolean hasGroupedHits()
float score(int n)
void setCollatedSpellCheckResult(String collatedSpellCheckResult)
void setDocs(Document[] docs)
void setLength(int length)
void setQuery(Query query)
void setQuerySuggestions(String[] querySuggestions)
void setQueryTerms(String[] queryTerms)
void setScores(float[] scores)
void setSearchTime(float time)
void setSnippets(String[] snippets)
void setSpellCheckResults(Map<String,List<String>> spellCheckResults)
void setStart(long start)
String snippet(int n)
List<Document> toList()