Elasticsearch: update by query: how to handle version conflict? -


i want execute update query on elastic, when other daemons (maybe) updating documents. consequence of version conflict.

i want list of all(not 1 bulk) ids of conflicted documents (for manual retry) or set retry_on_conflict update query.

how can it?

example of query:

"script": {     "inline": "ctx._source['msp']=null",     "lang": "painless" }, "query": {     "bool": {         "must_not": {             "terms": {                 "msp-rev": [44]             }         },         "must" : {             "exists": {                 "field": "msp"             }         }     } } 


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -