You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "William Butler (JIRA)" <ji...@apache.org> on 2012/12/01 00:51:59 UTC

[jira] [Created] (SOLR-4133) SolrJ - Cannot "set" field to null with partial updates when using standard RequestWriter.

William Butler created SOLR-4133:
------------------------------------

             Summary: 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: William 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-4133) Cannot "set" field to null with partial updates when using the standard RequestWriter.

Posted by "Will Butler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will Butler updated SOLR-4133:
------------------------------

    Summary: Cannot "set" field to null with partial updates when using the standard RequestWriter.  (was: Solrj: Cannot "set" field to null with partial updates when using 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
>            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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-4133) Solrj: Cannot "set" field to null with partial updates when using standard RequestWriter.

Posted by "Will Butler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will Butler updated SOLR-4133:
------------------------------

    Component/s: update
    
> 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, update
>    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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-4133) Cannot "set" field to null with partial updates when using the standard RequestWriter.

Posted by "Will Butler (JIRA)" <ji...@apache.org>.
     [ 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:
\\
\\
{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.

  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.

    
> 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
>            Priority: Minor
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-4133) Solrj: Cannot "set" field to null with partial updates when using standard RequestWriter.

Posted by "William Butler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Butler updated SOLR-4133:
---------------------------------

    Summary: Solrj: Cannot "set" field to null with partial updates when using standard RequestWriter.  (was: SolrJ - Cannot "set" field to null with partial updates when using standard RequestWriter.)
    
> 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: William 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-4133) Solrj: Cannot "set" field to null with partial updates when using standard RequestWriter.

Posted by "Will Butler (JIRA)" <ji...@apache.org>.
     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org