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

SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: clients - java
    • Labels:
      None

      Description

      org.apache.solr.client.solrj.SolrServerException: Error executing query
      at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
      at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
      ...
      Caused by: java.lang.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List
      at org.apache.solr.client.solrj.response.SpellCheckResponse$Suggestion.<init>(SpellCheckResponse.java:107)
      at org.apache.solr.client.solrj.response.SpellCheckResponse.<init>(SpellCheckResponse.java:51)
      at org.apache.solr.client.solrj.response.QueryResponse.extractSpellCheckInfo(QueryResponse.java:125)
      at org.apache.solr.client.solrj.response.QueryResponse.setResponse(QueryResponse.java:115)
      at org.apache.solr.client.solrj.response.QueryResponse.<init>(QueryResponse.java:80)
      at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              reubenfirmin Reuben Firmin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: