Preeti, I just updated my Java update command to allow the source JSON to be specified (it typically created the source from one or more name=value pairs). It reads the JSON from a file so that there is no Bash nor non-ES Java interpretation of the \unnnn sequences.
I updated the same record several times in a row without any failures or exceptions of any kind. Queries always return the most recently updated version of the document and the responses reflect all changes that were made as well as the expected version number. So, I am sure that using the *setScript* method is incorrect, and you should be using the *setSource* method for your use case. Regards, Brian -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8db339c5-d305-4c9a-be49-d118b66ae9ca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
