Ok, this might sound strange but i can´t do that simple task: I just want to update one document which has an unique identifier. I don´t know the ID and don´t want to get the id first.
Using '_update_by_query' i get down to the right result, but something like this doesn´t work:
Thanks.. Can you point me in the right direction for a little bit more documentation ? It seems that everybody understands scripting but i have no idea how that works
There are docs here for scripting. The update by query docs that @spinscale linked you to have a few examples of scripting in the update-by-query context.
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.