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

ClassCastException, wrong signature definition of QueryResponse.getExplainMap() - String,String given, but is String, Map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5
    • None
    • clients - java
    • None
    • java 1.6, linux

    Description

      I am getting this exception trying to use the explainMap stuff from query response:

      java.lang.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.lang.String

      The signature tells its <String, String> but thats not true. Signature is wrong or the code which does produce a map value should produce a string, either one needs to be fixed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tkrah Torsten Krah
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: