lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alias" <524839...@qq.com>
Subject Migrate Documents to Another Collection
Date Tue, 14 Feb 2017 02:04:16 GMT
hi      I use solrj 5.5.0 to inquire solr3.6 reported the following error:
Java.lang.ClassCastException: java.lang.Boolean can not be cast to org.apache.solr.common.util.NamedList
        At org.apache.solr.client.solrj.response.SpellCheckResponse. <Init> (SpellCheckResponse.java:47)
        At org.apache.solr.client.solrj.response.QueryResponse.extractSpellCheckInfo (QueryResponse.java:179)
        At org.apache.solr.client.solrj.response.QueryResponse.setResponse (QueryResponse.java:153)
        At org.apache.solr.client.solrj.SolrRequest.process (SolrRequest.java:149)
        At org.apache.solr.client.solrj.SolrClient.query (SolrClient.java:942)
        At org.apache.solr.client.solrj.SolrClient.query (SolrClient.java:957)
        At com.vip.vipme.demo.utils.SolrTest.testCategoryIdPC (SolrTest.java:66)
        At com.vip.vipme.demo.SolrjServlet1.doGet (SolrjServlet1.java:33)
        At javax.servlet.http.HttpServlet.service (HttpServlet.java:707)
        At javax.servlet.http.HttpServlet.service (HttpServlet.java:820)
        At org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:487)
        At org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:362)
        At org.mortbay.jetty.security.SecurityHandler.handle (SecurityHandler.java:216)
        At org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:181)
        At org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:712)
        At org.mortbay.jetty.webapp.WebAppContext.handle (WebAppContext.java:405)


If you set the query.set ("spellcheck", Boolean.FALSE); can solve this problem,
But I would like to know what the specific reasons for this problem


thinks
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message