[
https://issues.apache.org/jira/browse/SOLR-12864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SOLR-12864:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Affects Versions: 7.5
> Reporter: Alexandre Rafalovitch
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]