Re: Newbie question on Deduplication overWriteDupes flag
: How do I achieve, add if not there, fail if duplicate is found. I though You can use the optimistic concurrency features to do this, by including a _version_=-1 field value in the document. this will instruct solr that the update should only be processed if the document does not already exist... https://cwiki.apache.org/confluence/display/solr/Updating+Parts+of+Documents -Hoss http://www.lucidworks.com/
Re: Newbie question on Deduplication overWriteDupes flag
A follow up question on this (as it is kind of new functionality). What happens if several documents are submitted and one of them fails due to that? Do they get rolled back or only one? Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Thu, Feb 6, 2014 at 11:17 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : How do I achieve, add if not there, fail if duplicate is found. I though You can use the optimistic concurrency features to do this, by including a _version_=-1 field value in the document. this will instruct solr that the update should only be processed if the document does not already exist... https://cwiki.apache.org/confluence/display/solr/Updating+Parts+of+Documents -Hoss http://www.lucidworks.com/
Newbie question on Deduplication overWriteDupes flag
I had a configuration where I had overwriteDupes=false. Result: I got duplicate documents in the index. When I changed to overwriteDupes=false, the duplicate documents started overwriting the older documents. How do I achieve, add if not there, fail if duplicate is found. I though that overwriteDupes=false would do that. -- View this message in context: http://lucene.472066.n3.nabble.com/Newbie-question-on-Deduplication-overWriteDupes-flag-tp4115212.html Sent from the Solr - User mailing list archive at Nabble.com.