[ https://issues.apache.org/jira/browse/SOLR-4338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yago Riveiro Rodríguez updated SOLR-4338: ----------------------------------------- Description: 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} was: 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} > 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 > Environment: Solr 4.1, Mac OSX > Reporter: Yago Riveiro Rodríguez > > 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 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org