You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/05/23 19:05:00 UTC
[jira] [Commented] (SOLR-16811) /update/json/docs?echo=true retuns empty docs
[ https://issues.apache.org/jira/browse/SOLR-16811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725543#comment-17725543 ]
ASF subversion and git services commented on SOLR-16811:
--------------------------------------------------------
Commit 8c83faadfa37eaee318b583c03ec92e72659c235 in solr's branch refs/heads/main from Mikhail Khludnev
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=8c83faadfa3 ]
SOLR-16811: fix echo and mapUniqueKeyOnly params at /update/json/docs. (#1656)
* 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: 40m
> 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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org