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

XMLWriter throws ClassCastException on writing maps other than <String,?>

    XMLWordPrintableJSON

Details

    Description

      http://lucene.apache.org/solr/api/org/apache/solr/response/SolrQueryResponse.html#returnable_data says that a Map "containing any of the items in this list" may be contained in a SolrQueryResponse and will be handled by QueryResponseWriters.

      This is not true for (at least) Keys in Maps.
      XMLWriter tries to cast keys to Strings.

      Attachments

        1. SOLR-1823.patch
          1 kB
          Frank Wesemann

        Activity

          People

            hossman Chris M. Hostetter
            wese Frank Wesemann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: