Is it possible to disable the increment of the version counter on some 
update operations?

I've a views counter which is updated whenever user "opens" a file in ma 
app. 
 body: { script: 'ctx._source.views += 1',}

I don't want this to affect the version number, cause when some other user 
is doing updates on other document attributes, updates could not be saved 
due to version conflict.
On the other hand I'd like to use the versioning feature to make sure 
multiple users are overriding their changes. (except from the views field)

Thanks, Joa

-- 
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/ea2893c7-464e-4de3-ac5a-01520eb293dd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to