[
https://issues.apache.org/jira/browse/SOLR-9234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355193#comment-15355193
]
ASF subversion and git services commented on SOLR-9234:
-------------------------------------------------------
Commit 455e041c68106a9fc7d395a6a327aee6f221d1db in lucene-solr's branch
refs/heads/branch_6x from [~steve_rowe]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=455e041 ]
Put back 6.2 bugfixes released in 5.5.2: SOLR-9191 and SOLR-9234
> 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
> Fix For: 5.5.2, 6.2
>
> Attachments: SOLR-9234.patch
>
>
> {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]