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/10/19 07:44:00 UTC

[jira] [Commented] (SOLR-18332) Remove usages of deprecated 'qt' parameter and related SolrJ functionality

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

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

Commit f4f2507177855cc5178a1ffcc0f51b28ba4e14b1 in solr's branch refs/heads/branch_9x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=f4f25071778 ]

SOLR-18522: Fix branch_9x test compilation (follow-up to #5060)

Replace the Java 15+ text block with string concatenation (branch_9x targets Java 11),
and use the QT param form of query() since branch_9x lacks the SOLR-18332 qt-removal.

Co-Authored-By: Claude Opus 5.5 (1M context) <no...@anthropic.com>


> Remove usages of deprecated 'qt' parameter and related SolrJ functionality
> --------------------------------------------------------------------------
>
>                 Key: SOLR-18332
>                 URL: https://issues.apache.org/jira/browse/SOLR-18332
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>    Affects Versions: main(11.0)
>            Reporter: Jason Gerlowski
>            Assignee: Jason Gerlowski
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 15h 10m
>  Remaining Estimate: 0h
>
> SOLR-17715 deprecated SolrQuery's setRequestHandler/getRequestHandler methods in favor of a new QueryRequest ctor that takes an explicit requestHandler.  SolrJ users no longer need to send 'qt' to select a handler.
> There's some debate over whether this deprecation will "stick" and whether we'll be able to eliminate all usages of qt, but in the meantime there are many usages of 'qt' (and related methods) that are inarguably unnecessary. 
> This ticket tracks incrementally removing usages of the deprecated SolrJ convenience methods / 'qt'-as-handler-override pattern in the codebase, in cases where a path-based alternative exists.



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