lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cassandra Targett (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4338) Atomic Updates on multi-valued fields giving unexpected results (again)
Date Tue, 09 Jan 2018 21:55:00 GMT

     [ 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


Mime
View raw message