David Smiley created SOLR-17057:
-----------------------------------

             Summary: JSON Query regression; defType doesn't work in "params"
                 Key: SOLR-17057
                 URL: https://issues.apache.org/jira/browse/SOLR-17057
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: JSON Request API
    Affects Versions: 9.4
            Reporter: David Smiley


The following test fails ("undefined field all") but used to work prior to 
SOLR-16916:

{code:java}
    client.testJQ(
        params(
            "json", "{\n"
                + "    'query': '+all:NY',\n"
                + "    'fields': '*',\n"
                + "    'offset': 0,\n"
                + "    'limit': 10,\n"
                + "    'params': {\n"
                + "        'defType': 'edismax',\n"
                + "        'f.all.qf': 'id cat_s where_s'\n"
                + "   }\n"
                + "}"
        ),
        "response/numFound==2"
    );
{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

Reply via email to