[
https://issues.apache.org/jira/browse/SOLR-18332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18102280#comment-18102280
]
ASF subversion and git services commented on SOLR-18332:
--------------------------------------------------------
Commit 02d3cb4abcc9e51dd19c47557d9f937eeb2db9ec in solr's branch
refs/heads/main from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=02d3cb4abcc ]
SOLR-18332: Remove deprecated 'qt' param from some tests (#4699)
Convert tests that set the 'qt' request parameter directly on a
SolrQuery/SolrParams object to instead select the request handler via
QueryRequest's path-based constructor or an explicit handler argument.
Involves minor method-overload changes to SolrTestCaseJ4 and
BaseDistributedSearchTestCase.
Many 'qt' usages remain; this is just an initial batch.
> 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
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 2h 20m
> 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: [email protected]
For additional commands, e-mail: [email protected]