You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kun Xi (JIRA)" <ji...@apache.org> on 2014/07/31 23:39:39 UTC
[jira] [Commented] (SOLR-6307) Atomic update remove does not work
for int array or date array
[ https://issues.apache.org/jira/browse/SOLR-6307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14081523#comment-14081523 ]
Kun Xi commented on SOLR-6307:
------------------------------
Related to SOLR-3682.
> Atomic update remove does not work for int array or date array
> --------------------------------------------------------------
>
> Key: SOLR-6307
> URL: https://issues.apache.org/jira/browse/SOLR-6307
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.9
> Reporter: Kun Xi
>
> Try to remove an element in the string array with curl:
> {code}
> curl http://localhost:8080/update\?commit\=true -H 'Content-type:application/json' -d '[{ "attr_birth_year_is": { "remove": [1960]}, "id": 1098}]'
> curl http://localhost:8080/update\?commit\=true -H 'Content-type:application/json' -d '[{"reserved_on_dates_dts": {"remove": ["2014-02-12T12:00:00Z", "2014-07-16T12:00:00Z", "2014-02-15T12:00:00Z", "2014-02-21T12:00:00Z"]}, "id": 1098}]'
> {code}
> Neither of them works.
> The set and add operation for int array works.
> The set, remove, and add operation for string array works
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org