public class TopDocs extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
ScoreDoc[] |
scoreDocs
Expert: The top hits for the query.
|
int |
totalHits
Expert: The total number of hits for the query.
|
Modifier and Type | Method and Description |
---|---|
float |
getMaxScore()
Expert: Returns the maximum score value encountered.
|
void |
setMaxScore(float maxScore)
Expert: Sets the maximum score value encountered.
|
public int totalHits
Hits.length()
public ScoreDoc[] scoreDocs
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.