Interface ElasticsearchSearchResult<H>

All Superinterfaces:

public interface ElasticsearchSearchResult<H> extends SearchResult<H>
  • Method Details

    • responseBody

      @Incubating responseBody()
      The body of the response to the search request as a 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.