public interface ElasticsearchSearchResult<H> extends SearchResult<H>
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
getResponseBody() |
getAggregation, getHits, getTook, getTotalHitCount, isTimedOutcom.google.gson.JsonObject getResponseBody()
JsonObject.
The returned object must not be modified; use JsonObject.deepCopy() if necessary.
WARNING: The content of the response may change depending on
the version of Elasticsearch, depending on which Hibernate Search features are used,
and even depending on how Hibernate Search features are implemented.
Thus this method cannot be guaranteed to return the same data when upgrading Hibernate Search,
even for micro upgrades (x.y.z to x.y.(z+1)).
Use this at your own risk.
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.