Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Labels:
      None
    • Sprint:
      Kromeriz 145, Kromeriz 146, Kromeriz 147
    • Story Points:
      2

      Description

      ClassCastException occurs when spellcheck.collate is enabled. Problem is that older Solr5 were returning collations 'hits' as Integer, but with Solr 7 it's Long.
      spellcheck.collate can be disable in magnolia sample solrconfig.xml, but that's just workaround... and solrj should be updated to 7.x, because Solr 5 is EOL

      Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
      	at org.apache.solr.client.solrj.response.SpellCheckResponse.<init>(SpellCheckResponse.java:73) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17]
      	at org.apache.solr.client.solrj.response.QueryResponse.extractSpellCheckInfo(QueryResponse.java:180) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17]
      	at org.apache.solr.client.solrj.response.QueryResponse.setResponse(QueryResponse.java:154) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17]
      	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17]
      	at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:943) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17]
      	at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:958) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17]
      	at info.magnolia.search.solrsearchprovider.logic.providers.FacetedSolrSearchProvider.performSuggestionsQuery(FacetedSolrSearchProvider.java:302) ~[magnolia-solr-search-provider-5.2-SNAPSHOT.jar:?]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdivilek Milan Divilek
                Reporter:
                mdivilek Milan Divilek
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: