[ https://issues.apache.org/jira/browse/SOLR-17057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17793120#comment-17793120 ]
ASF subversion and git services commented on SOLR-17057: -------------------------------------------------------- Commit 60ff0fa1aacf592bea672641bc931b020a435b48 in solr's branch refs/heads/main from David Smiley [ https://gitbox.apache.org/repos/asf?p=solr.git;h=60ff0fa1aac ] SOLR-17057: JSON Query regression of defType (#2045) If "query" is specified with a String (not JSON structure), "defType" should parse it. Since 9.4, defType was ignored. Ignoring defType should have been conditional on the query being JSON structured. > 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 > Assignee: David Smiley > Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > 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