public class SearchResult extends IndexQueryResult
| Constructor and Description |
|---|
SearchResult(org.elasticsearch.search.SearchHits searchHits,
Set<IndexRange> usedIndices,
String originalQuery,
org.elasticsearch.common.bytes.BytesReference builtQuery,
org.elasticsearch.common.unit.TimeValue took) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getFields() |
List<ResultMessage> |
getResults() |
long |
getTotalResults() |
Set<IndexRange> |
getUsedIndices() |
buildResults, getBuiltQuery, getOriginalQuery, tookpublic SearchResult(org.elasticsearch.search.SearchHits searchHits,
Set<IndexRange> usedIndices,
String originalQuery,
org.elasticsearch.common.bytes.BytesReference builtQuery,
org.elasticsearch.common.unit.TimeValue took)
public long getTotalResults()
public List<ResultMessage> getResults()
public Set<IndexRange> getUsedIndices()
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.