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

Ryan McKinley commented on SOLR-653:
------------------------------------

using 'overwite=false' is a sure way to make a mess.  As Chris put it in 
http://www.nabble.com/Re%3A-Duplicate-content-p18535995.html
{panel}
allowDups is one of those features where Solr not only gives you enough 
rope to hang yourself, but Solr also ties the rope into a knot, cust some 
lumber, and builds you a gallows -- but it's a feature if what you really 
want to do is hang yourself.
{panel}

Yes -- by default, if you send a document with the same uniqueKey, it will be 
overwritten.  If you turn off the duplicate detection, it will put the document 
into the index, but will likely explode down the line -- many things assume the 
uniqueKey is in fact unique.

Note -- this patch does not remove the functionality from solr, it only removes 
the ability to ask for it via solrj



> remove "overwrite" command from solrj API
> -----------------------------------------
>
>                 Key: SOLR-653
>                 URL: https://issues.apache.org/jira/browse/SOLR-653
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 1.3
>
>         Attachments: SOLR-653-remove-solrj-overwrite.patch
>
>
> The solrj API should not expose the 'overwrite' option.  Using it will most 
> likely cause errors.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to