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/20 20:45:00 UTC

[jira] [Created] (SOLR-16811) /update/json/docs?echo=true retuns empty docs

Mikhail Khludnev created SOLR-16811:
---------------------------------------

             Summary: /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


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