com.liferay.portal.kernel.search
Interface Hits
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- HitsImpl
public interface Hits
- extends Serializable
doc
Document doc(int n)
getDocs
Document[] getDocs()
getLength
int getLength()
getQuery
Query getQuery()
getQueryTerms
String[] getQueryTerms()
getScores
float[] getScores()
getSearchTime
float getSearchTime()
getSnippets
String[] getSnippets()
getStart
long getStart()
score
float score(int n)
setDocs
void setDocs(Document[] docs)
setLength
void setLength(int length)
setQuery
void setQuery(Query query)
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)
setStart
void setStart(long start)
snippet
String snippet(int n)
toList
List<Document> toList()