lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Gazzarini <>
Subject Re: Providing own _version field in solr doc
Date Mon, 14 Dec 2015 17:23:12 GMT
Hi Debraj,
I think this nice article [1] from Yonik could be helpful.



2015-12-14 18:17 GMT+01:00 Debraj Manna <>:

> We have a use case in which there are multiple clients writing concurrently
> to solr. Each of the doc is having an 'timestamp' field which indicates
> when these docs were generated.
> We also have to ensure that any old doc doesn't overwrite any new doc in
> solr. So to achieve this we were thinking if we can make use of the
> _version field in solr doc and set the _version field equal to the
> 'timestamp' field that is present in each doc.
> Can someone let me know if the approach that we thought can be done? If not
> can someone suggest some other approach of achieving the same with minimum
> calls to solr?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message