... 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?
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.