Hi Community,
I encountered strange behavior with a new Elasticsearch Java client.
Before, I used org.elasticsearch:elasticsearch:7:8:1
WrapperQueryBuilder wrapperQueryBuilder = new WrapperQueryBuilder("string")
to get a wrapped query with Base64.
Now, I decided to use a new client co.elastic.clients:elasticsearch-java:7.17.22 and the same logic
WrapperQuery.Builder wrapperQueryBuilder =
QueryBuilders.wrapper()
.query("string");
Unfortunately, I did not get the old result. It means I have to use Base64Encoder or use another builder to get Base64?