You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/04/24 04:22:00 UTC

[jira] [Commented] (SOLR-18093) Add top-level "queries" support to JsonQueryRequest in SolrJ

    [ https://issues.apache.org/jira/browse/SOLR-18093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18075868#comment-18075868 ] 

ASF subversion and git services commented on SOLR-18093:
--------------------------------------------------------

Commit 36d8f54969988aa5674af5d38ef3e3241535fe29 in solr's branch refs/heads/main from Sonu Sharma
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=36d8f549699 ]

SOLR-18093: Add 'queries' support to JsonQueryRequest (#4276)

Add top-level "queries" support to JsonQueryRequest in SolrJ.

And hardened a related flaky test.
SearchHandler: give a clear error if referring to a non-existent SearchComponent

Co-authored-by: David Smiley <ds...@apache.org>

> Add top-level "queries" support to JsonQueryRequest in SolrJ
> ------------------------------------------------------------
>
>                 Key: SOLR-18093
>                 URL: https://issues.apache.org/jira/browse/SOLR-18093
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>            Reporter: Sonu Sharma
>            Priority: Minor
>              Labels: pull-request-available, pull-requests-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Currently, `{{{}JsonQueryRequest`{}}} in SolrJ supports specifying a single query via {{{}setQuery() and other top-level parameters like limit{}}}, {{sort,}} {{{}fields etc{}}}.
> However, it {*}does not support top-level {{"queries"}} blocks{*}, which is a good addition to fully leverage the combined query component and the Additional Queries feature in Solr’s [JSON Query DSL|https://solr.apache.org/guide/solr/latest/query-guide/json-query-dsl.html#additional-queries]. This limitation prevents constructing multiple queries or additional scoring/re-ranking queries in a single JSON request from the client side.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org