You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mikhail Khludnev (Jira)" <ji...@apache.org> on 2023/05/24 15:25:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Mikhail Khludnev resolved SOLR-16811.
-------------------------------------
Assignee: Mikhail Khludnev
Resolution: Fixed
> /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
> Assignee: Mikhail Khludnev
> Priority: Minor
> Labels: newbie
> Fix For: 9.3
>
> 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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org