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

Collapsing on undefined field returns 500

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 7.6
    • query parsers
    • None

    Description

      When collapsing is specified on the undefined field then, the response returned has status 500 instead of 400.

      This is because of wrapping of SolrException to RuntimeException
      https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java#L377

      Then in request handler base, all RuntimeException are converted to SolrException with status 500

      Attachments

        1. SOLR-11956.patch
          12 kB
          Munendra S N
        2. SOLR-11956.patch
          10 kB
          Munendra S N
        3. SOLR-11956.patch
          2 kB
          Munendra S N

        Issue Links

          Activity

            People

              dsmiley David Smiley
              munendrasn Munendra S N
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: