Noble Paul created SOLR-9234:
--------------------------------
Summary: srcField works only when all fields are captured in the
/update/json/docs endpoint
Key: SOLR-9234
URL: https://issues.apache.org/jira/browse/SOLR-9234
Project: Solr
Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul
{code}
$ cat ~/Desktop/nested.json
{
"id" : "123",
"description": "Testing /json/docs srcField",
"nested_data" : {
"nested_inside" : "check check check"
}
}
$ curl
"http://localhost:8983/solr/test/update/json/docs?srcField=original_json_s&split=/&f=description_s:/descriptio&f=id:/id&commit=true&echo=true"
-H "Content-type:application/json" -d @/Users/erikhatcher/Desktop/nested.json
{"responseHeader":{"status":0,"QTime":1},"docs":[{"id":"123","description_s":"Testing
/json/docs srcField","original_json_s":"{ \"id\" : \"123\", \"description\":
\"Testing /json/docs srcField\", \"nested_data\" : { \" : \" }}"}]}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]