ananthesh created SOLR-11965:

             Summary: collapse.field on an unsupported field should throw 400 
bad request
                 Key: SOLR-11965
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 7.2, 6.7
            Reporter: ananthesh

Currently w.r.t Collapsing Query 
  if an unsupported field or unknown field passed as a parameter to 
'collapse.field' property, The system returns HTTP status code:500, even though 
the error msg is accurate. 
      "fq":"{!collapse field=unknown-field}"}},
    "msg":"org.apache.solr.common.SolrException: undefined field: 
    "trace":"java.lang.RuntimeException: org.apache.solr.common.SolrException: 
undefined field: \"unknown-field\""}}

On an unknown field, the system needs to return HTTP status code:400

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to