Alexandre Rafalovitch created SOLR-12864: --------------------------------------------
Summary: Custom JSON parser's echo parameter does not show values Key: SOLR-12864 URL: https://issues.apache.org/jira/browse/SOLR-12864 Project: Solr Issue Type: Bug Security Level: Public (Default Security Level. Issues are Public) Affects Versions: 7.5 Reporter: Alexandre Rafalovitch During parsing custom JSON, the debugging *echo* parameter does not seem to to return actually parsed values. Or possibly returns value for id, but not the rest. Can be reproduced with: # bin/solr create -c splittest # bin/post -c splittest -params 'mapUniqueKeyOnly=true&df=text&echo=true' -out yes example/exampledocs/books.json Results are: {noformat} POSTing file books.json (application/json) to [base]/json/docs { "responseHeader":{ "status":0, "QTime":0}, "docs":[{ "id":"978-0641723445", "text":[]}, { "id":"978-1423103349", "text":[]}, { "id":"978-1857995879", "text":[]}, { "id":"978-1933988177", "text":[]}]} {noformat} The documents is not created. If echo parameter is removed, the documents are created and the text field does contain values which are shown to the user. This happens whether or not the schema fields are already created or auto-created by the schemaless mode. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org