public class RestSearchResponse extends ElasticSearchResponse
| Constructor and Description |
|---|
RestSearchResponse() |
| Modifier and Type | Method and Description |
|---|---|
RestSearchResults |
getHits() |
Float |
getMaxScore() |
int |
getNumHits() |
Stream<RawQuery.Result<String>> |
getResults() |
String |
getScrollId() |
long |
getTook() |
int |
numResults() |
void |
setHits(RestSearchResults hits) |
void |
setScrollId(String scrollId) |
void |
setTook(long took) |
setResultspublic long getTook()
getTook in class ElasticSearchResponsepublic void setTook(long took)
setTook in class ElasticSearchResponsepublic RestSearchResults getHits()
public void setHits(RestSearchResults hits)
public int getNumHits()
public Float getMaxScore()
public Stream<RawQuery.Result<String>> getResults()
getResults in class ElasticSearchResponsepublic int numResults()
numResults in class ElasticSearchResponsepublic String getScrollId()
getScrollId in class ElasticSearchResponsepublic void setScrollId(String scrollId)
setScrollId in class ElasticSearchResponseCopyright © 2012–2023. All rights reserved.