|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.TopDocs
public class TopDocs
Expert: Returned by low-level search implementations.
Searcher.search(Query,Filter,int)
,
Serialized FormField Summary | |
---|---|
ScoreDoc[] |
scoreDocs
Expert: The top hits for the query. |
int |
totalHits
Expert: The total number of hits for the query. |
Constructor Summary | |
---|---|
TopDocs(int totalHits,
ScoreDoc[] scoreDocs,
float maxScore)
Expert: Constructs a TopDocs. |
Method Summary | |
---|---|
float |
getMaxScore()
Expert: Returns the maximum score value encountered. |
void |
setMaxScore(float maxScore)
Expert: Sets the maximum score value encountered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int totalHits
Hits.length()
public ScoreDoc[] scoreDocs
Constructor Detail |
---|
public TopDocs(int totalHits, ScoreDoc[] scoreDocs, float maxScore)
Method Detail |
---|
public float getMaxScore()
public void setMaxScore(float maxScore)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |