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

Fuad Efendi commented on SOLR-653:
----------------------------------

Will it overwrite by default?

I need to update document using it's primary key. If I use "overwrite=false" 
new document is added with same primary key (defined in schema as  
<uniqueKey>id</uniqueKey>) and I'll have two different documents with same 
_unique_ key even after commit&optimize. 

Is there bug with 'uniqueKey'?

Thanks

> 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