I am using RestHighLevelClient
(elasticsearch-rest-high-level-client-7.17.16.jar)
and I get a warning from our 7.17.13 server
Warning: 299 Elasticsearch-7.17.13-2b211dbb8bfdecaf7f5b44d356bdfe54b1050c13 "Deprecated field [type] used, this field is unused and will be removed entirely"
This is filling up my stack logs. Is there a way to get rid off this warning.
What are my options ?
I guess using
Thanks for the additional details. By default the RestHighLevelClient will send type = "MEMORY" and the server will issue a warning. And unfortunately setting type to null will throw an exception.
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.