Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
4.10
-
None
-
None
-
Localhost under Jetty version 9.2.1.v20140609
Description
Let's say we have an indexed document provided by Tika contrib package:
{ "id": "some_id", "content_type": [ "text/html; charset=utf-8" ], "language": "en", "title": [ "some title" ], "content": [ "some content" ], "_version_": some_version }
Now, I want to add a field with an atomic update using curl from terminal
curl -s 'http://solr_ip:8080/solr/update' -H 'Content-type:application/json' -d '[{"id":"some_id","1986_i":{"set":2}}]'
The result document is:
{ "id": "some_id", "content_type": [ "text/html; charset=utf-8" ], "language": "en", "title": [ "some title" ], "1986_i": 2, "_version_": other_version }
The content field is missing.