[ 
https://issues.apache.org/jira/browse/SOLR-16811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725570#comment-17725570
 ] 

ASF subversion and git services commented on SOLR-16811:
--------------------------------------------------------

Commit 3eca3fdfad79ff77892ff7af518334d54d5ee24b in solr's branch 
refs/heads/branch_9x from Mikhail Khludnev
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=3eca3fdfad7 ]

SOLR-16811: fix echo and mapUniqueKeyOnly params at /update/json/docs. (#1656) 
(#1660)

* SOLR-16811: fix echo and mapUniqueKeyOnly params at /update/json/docs.

> /update/json/docs?echo=true retuns empty docs
> ---------------------------------------------
>
>                 Key: SOLR-16811
>                 URL: https://issues.apache.org/jira/browse/SOLR-16811
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mikhail Khludnev
>            Priority: Minor
>              Labels: newbie
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Just took Solr 9.2.1 try to enable echo on /update/json/docs it returns empty 
> docs.
> At glance it looks like due to 
> org.apache.solr.common.util.JsonRecordReader.Handler#handle expects copy of 
> incoming map, but 
> org.apache.solr.handler.loader.JsonLoader.SingleThreadedJsonLoader#getDocMap 
> doesn't makes a copy. 
> Then that map is wiped in finally block at 
> org/apache/solr/common/util/JsonRecordReader.java:440



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to