I am trying to migrate my code to the ES version 6.30. According to
this documentation page:
... In my java class I am to instantiate a IndexResponse opject like this:
IndexResponse response = client.index(request, RequestOptions.DEFAULT);
The documentation states that the RequestOptions is a member of the low level client.
I am using Maven to gather all the necessary ES dependencies. I have included the dependency for the low level client in my POM with:
org.elasticsearch.client:elasticsearch-rest-client - version 6.3.0 - the latest in the Maven repository. However there is no RequestOptions class in this package.
Where can I find the RequestOptions class that I need to create a IndexResponse statement?
Thank you for your time.