Class CountResponse


  • public final class CountResponse
    extends Object
    A response to _count API request.
    • Method Detail

      • getCount

        public long getCount()
        Number of documents matching request.
      • getTotalShards

        public int getTotalShards()
        The total number of shards the search was executed on.
      • getSuccessfulShards

        public int getSuccessfulShards()
        The successful number of shards the search was executed on.
      • getSkippedShards

        public int getSkippedShards()
        The number of shards skipped due to pre-filtering
      • getFailedShards

        public int getFailedShards()
        The failed number of shards the search was executed on.
      • getShardFailures

        public ShardSearchFailure[] getShardFailures()
        The failures that occurred during the search.
      • isTerminatedEarly

        public Boolean isTerminatedEarly()