com.liferay.portal.kernel.search
Interface Hits

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
HitsImpl

public interface Hits
extends java.io.Serializable

View Source

Author:
Brian Wing Shun Chan

Method Summary
 Document doc(int n)
           
 Document[] getDocs()
           
 int getLength()
           
 java.lang.String[] getQueryTerms()
           
 float[] getScores()
           
 float getSearchTime()
           
 java.lang.String[] getSnippets()
           
 long getStart()
           
 float score(int n)
           
 void setDocs(Document[] docs)
           
 void setLength(int length)
           
 void setQueryTerms(java.lang.String[] queryTerms)
           
 void setScores(float[] scores)
           
 void setScores(java.lang.Float[] scores)
           
 void setSearchTime(float time)
           
 void setSnippets(java.lang.String[] snippets)
           
 void setStart(long start)
           
 java.lang.String snippet(int n)
           
 java.util.List<Document> toList()
           
 

Method Detail

doc

Document doc(int n)

getDocs

Document[] getDocs()

getLength

int getLength()

getQueryTerms

java.lang.String[] getQueryTerms()

getScores

float[] getScores()

getSearchTime

float getSearchTime()

getSnippets

java.lang.String[] getSnippets()

getStart

long getStart()

score

float score(int n)

setDocs

void setDocs(Document[] docs)

setLength

void setLength(int length)

setQueryTerms

void setQueryTerms(java.lang.String[] queryTerms)

setScores

void setScores(float[] scores)

setScores

void setScores(java.lang.Float[] scores)

setSearchTime

void setSearchTime(float time)

setSnippets

void setSnippets(java.lang.String[] snippets)

setStart

void setStart(long start)

snippet

java.lang.String snippet(int n)

toList

java.util.List<Document> toList()