Liferay 6.2-ce-ga5

com.liferay.portal.kernel.search
Interface Hits

All Superinterfaces:
Serializable
All Known Implementing Classes:
HitsImpl

public interface Hits
extends Serializable


Method Summary
 void copy(Hits hits)
           
 Document doc(int n)
           
 String getCollatedSpellCheckResult()
           
 Document[] getDocs()
           
 int getLength()
           
 Query getQuery()
           
 String[] getQuerySuggestions()
           
 String[] getQueryTerms()
           
 float[] getScores()
           
 float getSearchTime()
           
 String[] getSnippets()
           
 Map<String,List<String>> getSpellCheckResults()
           
 long getStart()
           
 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 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()
           
 

Method Detail

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()

Liferay 6.2-ce-ga5