Interface ElasticsearchSearchRequestTransformerContext

    • Method Detail

      • path

        String path()
        Returns:
        The URL-encoded path of the HTTP request for this search.
      • path

        void path​(String newPath)
        Set a new path for the HTTP request for this search.
        Parameters:
        newPath - A HTTP path, already URL-encoded. Should not include the query parameters (?foo=bar&...): use parametersMap() for that instead.
      • parametersMap

        Map<String,​String> parametersMap()
        Returns:
        A (mutable) representation of the HTTP query parameters for this search, as a Map. The query parameters are not URL-encoded.
      • body

        com.google.gson.JsonObject body()
        Returns:
        A (mutable) representation of the HTTP request body for this search, as a JsonObject.