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

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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 4.6.1
    • Fix Version/s: 4.6.1
    • Component/s: search
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              Unassigned
              Reporter:
              Suman@Wipro Suman Lakhera

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment