Is it to possible to link "_version" special property to document's field
the same way as "_id" or "_timestamp" properties?
I tried to declare mapping this way:
However "_version" is not updated to "lock_version" value when document is
added or updated.
Documents which are submitted to ES in my system already contain
"lock_version" field. That is primarily
used for optimistic locking in external database system, however ES could
use it as well.
Hi,
I am curious about the same thing. Is this possible?
I am on ES 1.0.2, and my experiments show; No.
Seem's like it should be doable though?
Thanks,
-- Chris
On Friday, May 17, 2013 8:30:30 AM UTC-5, pgaertig wrote:
Hi,
Is it to possible to link "_version" special property to document's field
the same way as "_id" or "_timestamp" properties?
I tried to declare mapping this way:
However "_version" is not updated to "lock_version" value when document is
added or updated.
Documents which are submitted to ES in my system already contain
"lock_version" field. That is primarily
used for optimistic locking in external database system, however ES could
use it as well.
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.