You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Sonu Sharma (Jira)" <ji...@apache.org> on 2026/01/29 02:53:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Sonu Sharma updated SOLR-18093:
-------------------------------
    Description: 
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.

  was:
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.


> 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
>
> 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