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

changing solr version 4.5.1 to 4.6.0 getting error

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.5.1
    • 4.6
    • clients - java
    • None
    • spring

    Description

      org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Expected content type application/xml; charset=UTF-8 but got application/xml;charset=UTF-8. <?xml version="1.0" encoding="UTF-8"?>
      <response>
      <lst name="responseHeader"><int name="status">0</int><int name="QTime">3</int><lst name="params"><str name="facet">on</str><str name="q">samsung eb464358vu cinu Battery</str><str name="q.op">AND</str><str name="wt">xml</str><str name="fq">merchantId:139</str><str name="version">2.2</str></lst></lst><result name="response" numFound="0" start="0"></result><lst name="facet_counts"><lst name="facet_queries"/><lst name="facet_fields"/><lst name="facet_dates"/><lst name="facet_ranges"/></lst>
      </response>

      at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:455) ~[solr-solrj-4.6.0.jar:4.6.0 1543363 - simon - 2013-11-19 11:16:35]
      at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:197) ~[solr-solrj-4.6.0.jar:4.6.0 1543363 - simon - 2013-11-19 11:16:35]
      at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90) ~[solr-solrj-4.6.0.jar:4.6.0 1543363 - simon - 2013-11-19 11:16:35]
      at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301) ~[solr-solrj-4.6.0.jar:4.6.0 1543363 - simon - 2013-11-19 11:16:35]
      at com.dealwallet.solr.impl.ProductQuerySvcImpl.getProductsByMerchantIdAndName(ProductQuerySvcImpl.java:467) ~[com.dealwallet.webpub.impl-1.jar:na]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mahalakshmi595 lakshmi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: