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

HEAD request for managed resource returns 500 Server Error

    XMLWordPrintableJSON

Details

    Description

      HEAD requests for managed stopwords/synonyms fail with 500 Server Error. This is true for both stopword lists/synonym maps and their child resources.

      $ curl -sI "http://localhost:8983/solr/techproducts/schema/analysis/synonyms/english" | head -n 1
      HTTP/1.1 500 Server Error
      
      $ curl -sI "http://localhost:8983/solr/techproducts/schema/analysis/synonyms/english/happy" | head -n 1
      HTTP/1.1 500 Server Error
      

      A request for a non-existent word in a list/map does return the correct 404 response.

      $ curl -sI "http://localhost:8983/solr/techproducts/schema/analysis/synonyms/english/unhappy" | head -n 1
      HTTP/1.1 404 Not Found
      

      Attachments

        Issue Links

          Activity

            People

              krisden Kevin Risden
              thomascorthals Thomas Corthals
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h