| java.lang.Object org.apache.lucene.search.TopDocs
All known Subclasses: org.apache.lucene.search.TopFieldDocs,
Field Summary | |
public ScoreDoc[] | scoreDocs Expert: The top hits for the query. | public int | totalHits Expert: The total number of hits for the query. |
Constructor Summary | |
public | TopDocs(int totalHits, ScoreDoc[] scoreDocs, float maxScore) Expert: Constructs a TopDocs. |
Method Summary | |
public float | getMaxScore() Expert: Returns the maximum score value encountered. | public void | setMaxScore(float maxScore) Expert: Sets the maximum score value encountered. |
scoreDocs | public ScoreDoc[] scoreDocs(Code) | | Expert: The top hits for the query.
|
totalHits | public int totalHits(Code) | | Expert: The total number of hits for the query.
See Also: Hits.length |
TopDocs | public TopDocs(int totalHits, ScoreDoc[] scoreDocs, float maxScore)(Code) | | Expert: Constructs a TopDocs.
|
getMaxScore | public float getMaxScore()(Code) | | Expert: Returns the maximum score value encountered.
|
setMaxScore | public void setMaxScore(float maxScore)(Code) | | Expert: Sets the maximum score value encountered.
|
|
|