[
https://issues.apache.org/jira/browse/SOLR-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Will Butler updated SOLR-4133:
------------------------------
Description:
I would like to "unset" a field using partial updates like so:
{{doc.setField(field, singletonMap("set", null));}}
When I attempt to add this document using the standard XML-based RequestWriter,
this update is ignored. It works properly when using the BinaryRequestWriter.
was:
I would like to "unset" a field using partial updates like so:
doc.setField(field, singletonMap("set", null));
When I attempt to add this document using the standard XML-based RequestWriter,
this update is ignored. It works properly when using the BinaryRequestWriter.
> Solrj: Cannot "set" field to null with partial updates when using standard
> RequestWriter.
> -----------------------------------------------------------------------------------------
>
> Key: SOLR-4133
> URL: https://issues.apache.org/jira/browse/SOLR-4133
> Project: Solr
> Issue Type: Bug
> Components: clients - java
> Affects Versions: 4.0
> Reporter: Will Butler
> Priority: Minor
>
> I would like to "unset" a field using partial updates like so:
> {{doc.setField(field, singletonMap("set", null));}}
> 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]