Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16811

/update/json/docs?echo=true retuns empty docs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.3
    • None

    Description

      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

      Attachments

        Activity

          People

            mkhl Mikhail Khludnev
            mkhl Mikhail Khludnev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h