public class SearchResponse extends Object
| Constructor and Description |
|---|
SearchResponse(long tookInMillis,
int responseStatus,
long totalHits,
float maxScore,
int totalShards,
int successfulShards,
int shardFailures,
SearchHitResponse[] hits) |
| Modifier and Type | Method and Description |
|---|---|
SearchHitResponse[] |
getHits() |
float |
getMaxScore() |
int |
getResponseStatus() |
int |
getShardFailures() |
int |
getSuccessfulShards() |
long |
getTookInMillis() |
long |
getTotalHits() |
int |
getTotalShards() |
public SearchResponse(long tookInMillis,
int responseStatus,
long totalHits,
float maxScore,
int totalShards,
int successfulShards,
int shardFailures,
SearchHitResponse[] hits)
public long getTookInMillis()
public int getResponseStatus()
public long getTotalHits()
public float getMaxScore()
public int getTotalShards()
public int getSuccessfulShards()
public int getShardFailures()
public SearchHitResponse[] getHits()
Copyright © 2017–2020 JBoss by Red Hat. All rights reserved.