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

Request proxy mechanism not work if rows param is equal to zero

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2
    • 4.3, 6.0
    • None
    • None
    • Linux Centos 6, Tomcat 7

    Description

      If I try to do a request like:

      http://192.168.20.47:8983/solr/ST-3A856BBCA3_12/select?q=*:*&rows=0

      The request fail. The solr UI logging has this error:

       
      null:org.apache.solr.common.SolrException: Error trying to proxy request for url: http://192.168.20.47:8983/solr/ST-3A856BBCA3_12/select
      

       

      Chrome says:

      This webpage is not available
      The webpage at http://192.168.20.47:8983/solr/ST-038412DCC2_0612/query?q=id:*&rows=0 might be temporarily down or it may have moved permanently to a new web address.
      Error 321 (net::ERR_INVALID_CHUNKED_ENCODING): Unknown error.

      If the param rows is set to rows=4 or superior the query return data as expected.

      Attachments

        1. Screen Shot 00.png
          53 kB
          Yago Riveiro
        2. Screen Shot 01.png
          128 kB
          Yago Riveiro
        3. Screen Shot 02.png
          131 kB
          Yago Riveiro
        4. Screen Shot 03.png
          50 kB
          Yago Riveiro
        5. select
          0.1 kB
          Yago Riveiro

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              yriveiro Yago Riveiro
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: