You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2018/01/09 21:55:00 UTC

[jira] [Updated] (SOLR-4338) Atomic Updates on multi-valued fields giving unexpected results (again)

     [ https://issues.apache.org/jira/browse/SOLR-4338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassandra Targett updated SOLR-4338:
------------------------------------
    Component/s: update

> Atomic Updates on multi-valued fields giving unexpected results (again)
> -----------------------------------------------------------------------
>
>                 Key: SOLR-4338
>                 URL: https://issues.apache.org/jira/browse/SOLR-4338
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 4.1
>         Environment: Solr 4.1, Mac OSX
>            Reporter: Yago Riveiro
>
> I have unexpected results using the add operator in an atomic update that makes more than 1 operation add in the same field.
> The atomic update used was a json format string:
> {code}
> curl http://127.0.0.1:8983/solr/0212/update?commit=true -H 'Content-Type: application/json' -d '[{"id":"P2443582311", "metadata_tags":{"add":"visit"}, "metadata_tags":{"add":"deep_1"}}]'
> {code}
> The result of atomic update was:
> {code}
> curl http://127.0.0.1:8983/solr/0212/get?id=P2443582311
> {"doc":
>     {"id":"P2443582311","metadata_tags":["{add=deep_1}","{add=visit}"],"_version_":1424978534011502592}
> }
> {code} 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org