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

    Constructors
    Constructor and Description
    `QueryCommandResult(TopDocs topDocs, int matches)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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()

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.