Class QueryCommandResult
java.lang.Object
org.apache.solr.search.grouping.distributed.command.QueryCommandResult
Encapsulates
TopDocs and the number of matches.-
Constructor Summary
ConstructorsConstructorDescriptionQueryCommandResult(org.apache.lucene.search.TopDocs topDocs, int matches, float maxScore) -
Method Summary
Modifier and TypeMethodDescriptionintfloatorg.apache.lucene.search.TopDocs
-
Constructor Details
-
QueryCommandResult
public QueryCommandResult(org.apache.lucene.search.TopDocs topDocs, int matches, float maxScore)
-
-
Method Details
-
getTopDocs
public org.apache.lucene.search.TopDocs getTopDocs() -
getMatches
public int getMatches() -
getMaxScore
public float getMaxScore()
-