On 01/25/2014 07:21 PM, christopher palm wrote:
The problem I am trying to solve is that the order of these updates isn’t guaranteed once the multi threaded SOLRJ client starts sending them to SOLR, and older updates are overlaying the newer updates on the same document.
Don't do that. There is no way to guarantee what your updates will look like. We deal with this by keeping a list of document IDs that are currently being updated. If the ID is already in the list, do nothing. If it isn't, go ahead. Some synchronization required :-)
If you can think of a better way, I'd love to hear it, but I haven't found one.