Class SearchResponse
- java.lang.Object
-
- org.dashbuilder.dataprovider.backend.elasticsearch.rest.model.SearchResponse
-
- Direct Known Subclasses:
EmptySearchResponse
public class SearchResponse extends Object
* Search response.
-
-
Constructor Summary
Constructors Constructor Description SearchResponse(long tookInMillis, int responseStatus, long totalHits, float maxScore, int totalShards, int successfulShards, int shardFailures, SearchHitResponse[] hits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchHitResponse[]getHits()floatgetMaxScore()intgetResponseStatus()intgetShardFailures()intgetSuccessfulShards()longgetTookInMillis()longgetTotalHits()intgetTotalShards()
-
-
-
Constructor Detail
-
SearchResponse
public SearchResponse(long tookInMillis, int responseStatus, long totalHits, float maxScore, int totalShards, int successfulShards, int shardFailures, SearchHitResponse[] hits)
-
-
Method Detail
-
getTookInMillis
public long getTookInMillis()
-
getResponseStatus
public int getResponseStatus()
-
getTotalHits
public long getTotalHits()
-
getMaxScore
public float getMaxScore()
-
getTotalShards
public int getTotalShards()
-
getSuccessfulShards
public int getSuccessfulShards()
-
getShardFailures
public int getShardFailures()
-
getHits
public SearchHitResponse[] getHits()
-
-