Im trying to update a 2.3.0 plugin to 6.6.1, and I can't find the new way of executing a template, current code:
ByteReferece byteRef = ...
SearchRequest searchRequest = new SearchRequest();
searchRequest.templateSource(byteRef);
client.search(searchRequest, new RestStatusToXContentListener<>(channel, response));
To shad some light or context on the plugin, it is executing a query on a slightly different DSL that include more information about the request, eventually it needs to executed a templated request that accept a list of parameters that are resolved on the plugin side (es node).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.