Interface ElasticsearchSearchResult<H>
-
- All Superinterfaces:
SearchResult<H>
public interface ElasticsearchSearchResult<H> extends SearchResult<H>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.gson.JsonObject
responseBody()
-
Methods inherited from interface org.hibernate.search.engine.search.query.SearchResult
aggregation, hits, timedOut, took, total
-
-
-
-
Method Detail
-
responseBody
@Incubating com.google.gson.JsonObject responseBody()
- Returns:
- The body of the response to the search request as a
JsonObject
. The returned object must not be modified; useJsonObject.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
tox.y.(z+1)
). Use this at your own risk.
-
-