com.liferay.portal.kernel.search
Interface Hits

All Superinterfaces:
java.io.Serializable

public interface Hits
extends java.io.Serializable

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void closeSearcher()
           
 Document doc(int n)
           
 Document[] getDocs()
           
 int getLength()
           
 float[] getScores()
           
 float getSearchTime()
           
 long getStart()
           
 float score(int n)
           
 void setDocs(Document[] docs)
           
 void setLength(int length)
           
 void setScores(float[] scores)
           
 void setScores(java.lang.Float[] scores)
           
 void setSearchTime(float time)
           
 void setStart(long start)
           
 Hits subset(int begin, int end)
           
 java.util.List toList()
           
 

Method Detail

getStart

public long getStart()

setStart

public void setStart(long start)

getSearchTime

public float getSearchTime()

setSearchTime

public void setSearchTime(float time)

getDocs

public Document[] getDocs()

setDocs

public void setDocs(Document[] docs)

getLength

public int getLength()

setLength

public void setLength(int length)

getScores

public float[] getScores()

setScores

public void setScores(float[] scores)

setScores

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

closeSearcher

public void closeSearcher()

doc

public Document doc(int n)

score

public float score(int n)

subset

public Hits subset(int begin,
                   int end)

toList

public java.util.List toList()