I don't understand your use case. By not checking or incrementing the version number, one user's changes could obliterate the changes made to those or even to other fields by other users in between that first users's get of the document and that users's subsequent version-less update. You will have a race condition in which some users' changes will occasionally disappear.
The version handling steps I mentioned are easy in Java. And since the _source is JSON, and JSON is "JavaScript Object Notation", I should strong suspect that the equivalent JavaScript is similarly straight-forward. 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/16a9a32d-28fa-4aa6-9349-89d040ed6a04%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
