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

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

    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

            • Assignee:
              hossman Hoss Man
              Reporter:
              wese Frank Wesemann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: