com.liferay.portal.kernel.search
Interface Hits
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- HitsImpl
public interface Hits
- extends Serializable
copy
void copy(Hits hits)
doc
Document doc(int n)
getCollatedSpellCheckResult
String getCollatedSpellCheckResult()
getDocs
Document[] getDocs()
getLength
int getLength()
getQuery
Query getQuery()
getQuerySuggestions
String[] getQuerySuggestions()
getQueryTerms
String[] getQueryTerms()
getScores
float[] getScores()
getSearchTime
float getSearchTime()
getSnippets
String[] getSnippets()
getSpellCheckResults
Map<String,List<String>> getSpellCheckResults()
getStart
long getStart()
score
float score(int n)
setCollatedSpellCheckResult
void setCollatedSpellCheckResult(String collatedSpellCheckResult)
setDocs
void setDocs(Document[] docs)
setLength
void setLength(int length)
setQuery
void setQuery(Query query)
setQuerySuggestions
void setQuerySuggestions(String[] querySuggestions)
setQueryTerms
void setQueryTerms(String[] queryTerms)
setScores
void setScores(float[] scores)
setScores
void setScores(Float[] scores)
setSearchTime
void setSearchTime(float time)
setSnippets
void setSnippets(String[] snippets)
setSpellCheckResults
void setSpellCheckResults(Map<String,List<String>> spellCheckResults)
setStart
void setStart(long start)
snippet
String snippet(int n)
toList
List<Document> toList()