Package com.liferay.portal.kernel.search
Interface Hits
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
HitsImpl
- Author:
- Brian Wing Shun Chan
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroupedHits(String groupValue, Hits hits) voidaddStatsResults(StatsResults statsResults) voiddoc(int n) Document[]getDocs()intgetQuery()String[]String[]float[]floatString[]longgetStart()booleanfloatscore(int n) voidsetCollatedSpellCheckResult(String collatedSpellCheckResult) voidvoidsetLength(int length) voidvoidsetQuerySuggestions(String[] querySuggestions) voidsetQueryTerms(String[] queryTerms) voidsetScores(float[] scores) voidsetSearchTime(float time) voidsetSnippets(String[] snippets) voidsetSpellCheckResults(Map<String, List<String>> spellCheckResults) voidsetStart(long start) snippet(int n) toList()
-
Method Details
-
addGroupedHits
-
addStatsResults
-
copy
-
doc
-
getCollatedSpellCheckResult
String getCollatedSpellCheckResult() -
getDocs
Document[] getDocs() -
getGroupedHits
-
getLength
int getLength() -
getQuery
Query getQuery() -
getQuerySuggestions
String[] getQuerySuggestions() -
getQueryTerms
String[] getQueryTerms() -
getScores
float[] getScores() -
getSearchTime
float getSearchTime() -
getSnippets
String[] getSnippets() -
getSpellCheckResults
-
getStart
long getStart() -
getStatsResults
Map<String,StatsResults> getStatsResults() -
hasGroupedHits
boolean hasGroupedHits() -
score
float score(int n) -
setCollatedSpellCheckResult
-
setDocs
-
setLength
void setLength(int length) -
setQuery
-
setQuerySuggestions
-
setQueryTerms
-
setScores
void setScores(float[] scores) -
setSearchTime
void setSearchTime(float time) -
setSnippets
-
setSpellCheckResults
-
setStart
void setStart(long start) -
snippet
-
toList
-