[
https://issues.apache.org/jira/browse/SOLR-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539011#comment-13539011
]
Commit Tag Bot commented on SOLR-4133:
--------------------------------------
[branch_4x commit] Shalin Shekhar Mangar
http://svn.apache.org/viewvc?view=revision&revision=1425449
SOLR-4133: Cannot set field to null with partial updates when using the
standard RequestWriter
> Cannot "set" field to null with partial updates when using the standard
> RequestWriter.
> --------------------------------------------------------------------------------------
>
> Key: SOLR-4133
> URL: https://issues.apache.org/jira/browse/SOLR-4133
> Project: Solr
> Issue Type: Bug
> Components: clients - java, update
> Affects Versions: 4.0
> Reporter: Will Butler
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 4.1, 5.0
>
> Attachments: SOLR-4133.patch
>
>
> I would like to "unset" a field using partial updates like so:
> \\
> \\
> {code}
> doc.setField(field, singletonMap("set", null));
> {code}
> When I attempt to add this document using the standard XML-based
> RequestWriter, this update is ignored. It works properly when using the
> BinaryRequestWriter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]