[ 
https://issues.apache.org/jira/browse/SOLR-13320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16829856#comment-16829856
 ] 

Noble Paul edited comment on SOLR-13320 at 4/30/19 5:33 AM:
------------------------------------------------------------

bq.I'm just trying to avoid adding yet another way to do something that's 
already possible to do with Solr,

The reason why this has to be in DUH2 and not in a URP is because these checks 
are already done by DUH2. If a URP is introduced , it will have to do the same 
set of things done by DUH2 over and over again. Yes, I agree that an explosion 
of global parameters is not good , but this one is part of the checks that is 
already done by DUH2. Ideally, we should have done the entire version handling 
in a URP and not in DUH2. But that ship has already sailed


was (Author: noble.paul):
The version comparison logic is already handled by DUH2. Using a URP is much 
more complex than explaining people to use two URPs and I still have no idea 
how it works

> add a param ignoreVersionConflicts=true to updates to not overwrite existing 
> docs
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-13320
>                 URL: https://issues.apache.org/jira/browse/SOLR-13320
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Major
>         Attachments: SOLR-13320.patch
>
>
> Updates should have an option to ignore duplicate documents and drop them if 
> an option  {{ignoreDuplicates=true}} is specified



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to