public interface ElasticsearchSearchRequestTransformerContext
ElasticsearchSearchRequestTransformer.transform(ElasticsearchSearchRequestTransformerContext).
WARNING: Direct changes to the request may conflict with Hibernate Search features
and be supported differently by different versions of Elasticsearch.
Thus they cannot be guaranteed to continue to work when upgrading Hibernate Search,
even for micro upgrades (x.y.z to x.y.(z+1)).
Use this at your own risk.
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
getBody() |
Map<String,String> |
getParametersMap() |
String |
getPath() |
void |
setPath(String newPath)
Set a new path for the HTTP request for this search.
|
String getPath()
void setPath(String newPath)
newPath - A HTTP path, already URL-encoded.
Should not include the query parameters (?foo=bar&...):
use getParametersMap() for that instead.Map<String,String> getParametersMap()
Map.
The query parameters are not URL-encoded.com.google.gson.JsonObject getBody()
JsonObject.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.