[ https://issues.apache.org/jira/browse/SOLR-16274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17624843#comment-17624843 ]
Kevin Risden commented on SOLR-16274: ------------------------------------- [~thomascorthals] thanks for the details. PR to fix this is here: https://github.com/apache/solr/pull/1140 - the issue being that non existent just happened to work where when something was found there was no exception, but the response was removed. This caused a NPE later in the chain. > HEAD request for managed resource returns 500 Server Error > ---------------------------------------------------------- > > Key: SOLR-16274 > URL: https://issues.apache.org/jira/browse/SOLR-16274 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Schema and Analysis > Affects Versions: 9.0, 8.11.2 > Reporter: Thomas Corthals > Assignee: Kevin Risden > Priority: Major > Labels: ManagedStopwordFilterFactory, > ManagedSynonymFilterFactory, REST, Solr > Time Spent: 20m > Remaining Estimate: 0h > > {{HEAD}} requests for managed stopwords/synonyms fail with 500 Server Error. > This is true for both stopword lists/synonym maps and their child resources. > {code:bash} > $ 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 > {code} > A request for a non-existent word in a list/map does return the correct 404 > response. > {code:bash} > $ curl -sI > "http://localhost:8983/solr/techproducts/schema/analysis/synonyms/english/unhappy" > | head -n 1 > HTTP/1.1 404 Not Found > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org