I'm also interested in learning how to apply this in the Java API.
The update method accepts Class<TDocument> as an argument. Given that requirement, how can we execute an update request when our document data consists of arbitrary properties (e.g. Map<String, Object>)?
Also struggling to find any example code using the new Java API for updates. We store our documents as dynamic json data in Elastic currently, with fields that don't always map out to a specific Java class.
What would the most generic case be for getting data back in a similar format to the one we are used to in the 7.17 high level rest client API?
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.