TopDocspublic class TopDocs extends Object implements SerializableExpert: Returned by low-level search implementations. |
Fields Summary |
---|
public int | totalHitsExpert: The total number of hits for the query. | public ScoreDoc[] | scoreDocsExpert: The top hits for the query. |
Constructors Summary |
---|
TopDocs(int totalHits, ScoreDoc[] scoreDocs)Expert: Constructs a TopDocs.
this.totalHits = totalHits;
this.scoreDocs = scoreDocs;
|
|