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

Getting error while searching for two words such as "shirt white"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 4.6.1
    • 4.6.1
    • search
    • None
    • windows server 2012

    Description

      The only issue we are having is with search terms that have multiple words, such as “shirt white”. This works fine with the embedded SOLR instances in DEV/QA, which is configured by the Hybris installation. It does not work with the standalone SOLR instances for PROD Env.
      For PROD we have two standalone server for master/slave.

      For indexing we are using Hybris 5.1.1 Application

      Do we require to do some additional configuration in SOLR/Application Level(Hybris) for making the above scenario work?

      Kindly help on this.

      -------------BELOW IS THE BROWSER ERROR LOG:-------------------------
      HTTP Status 500 - Request processing failed; nested exception is org.apache.solr.common.SolrException: org.apache.http.ParseException: Invalid content type:

      type Exception report
      message Request processing failed; nested exception is org.apache.solr.common.SolrException: org.apache.http.ParseException: Invalid content type:
      description The server encountered an internal error that prevented it from fulfilling this request.

      org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.solr.common.SolrException: org.apache.http.ParseException: Invalid content type:
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:256)
      de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$StatisticsGatewayFilter.doFilter(AbstractPlatformFilterChain.java:345)
      de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
      com.akzonobel.storefront.filters.btg.BTGSegmentFilter.doFilterInternal(BTGSegmentFilter.java:45)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
      com.akzonobel.storefront.filters.btg.AbstractBtgFilter.doFilterInternal(AbstractBtgFilter.java:57)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:226)
      com.akzonobel.storefront.filters.btg.AbstractBtgFilter.doFilterInternal(AbstractBtgFilter.java:57)

      Attachments

        Activity

          People

            Unassigned Unassigned
            Suman@Wipro Suman Lakhera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: