David Smiley created SOLR-16916:
-----------------------------------

             Summary: JSON Query DSL doesn't work if defType isn't lucene
                 Key: SOLR-16916
                 URL: https://issues.apache.org/jira/browse/SOLR-16916
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: query parsers
            Reporter: David Smiley


If the [JSON Query DSL|https://solr.apache.org/guide/8_4/json-query-dsl.html] 
is used (POSTing JSON), it requires that the default "lucene" query parser is 
used.  If for some reason defType is set, like in the defaults section of the 
request handler, then this doesn't work.  Internally, the JSON is rewritten to 
local-params syntax which requires the default parser, not another like edismax.

This behavior broke in 7.2 when other parsers stopped processing local-params 
in the name of security.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to