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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          Activity

            People

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              wese Frank Wesemann

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment