QueryCommandResult (Solr 3.6.2 API)
Keywords: org.apache.solr.search.grouping.distributed.command.QueryCommandResult class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr.search.grouping.distributed.command
Class QueryCommandResult

    java.lang.Object
      org.apache.solr.search.grouping.distributed.command.QueryCommandResult

    public class QueryCommandResult

extends Object

Encapsulates `TopDocs` and the number of matches.

Constructor Summary
`QueryCommandResult(TopDocs topDocs, int matches)`

Method Summary
`int` | `getMatches()`
`TopDocs` | `getTopDocs()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### QueryCommandResult

    public QueryCommandResult(TopDocs topDocs,
                              int matches)

Method Detail

### getTopDocs

    public TopDocs getTopDocs()

### getMatches

    public int getMatches()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD