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

Shalin Shekhar Mangar commented on SOLR-6720:
---------------------------------------------

I just tried this and it works as expected on trunk/branch_5x. Updating with 
null or empty list, removes the multi-valued field which was updated. All other 
fields of the document are preserved. What do you expect the result to be?

> Update of a multivalued property with an empty list deletes all properties
> --------------------------------------------------------------------------
>
>                 Key: SOLR-6720
>                 URL: https://issues.apache.org/jira/browse/SOLR-6720
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 4.10
>         Environment: Windows 7 64 bit
>            Reporter: Günther Ruck
>
> I tried to update a multivalued-Property of a Solr-Dokument with an empty 
> list. In Solrj I took the option 'set' to replace the current value.
> After the update operation all properties of the document are deleted.
> The operation works as expected if update is called with "null" instead of 
> the empty list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to