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 TypeMethodDescriptionvoid
addGroupedHits
(String groupValue, Hits hits) void
addStatsResults
(StatsResults statsResults) void
doc
(int n) Document[]
getDocs()
int
getQuery()
String[]
String[]
float[]
float
String[]
long
getStart()
boolean
float
score
(int n) void
setCollatedSpellCheckResult
(String collatedSpellCheckResult) void
void
setLength
(int length) void
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) 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
-