Interface ElasticsearchSearchResult<H>

All Superinterfaces:
org.hibernate.search.engine.search.query.SearchResult<H>

public interface ElasticsearchSearchResult<H> extends org.hibernate.search.engine.search.query.SearchResult<H>
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.gson.JsonObject
     

    Methods inherited from interface org.hibernate.search.engine.search.query.SearchResult

    aggregation, hits, timedOut, took, total
  • Method Details

    • 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; 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.