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

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

Commit 5de5a0d83abc98f74b1a7b854af5ada95b756bad in solr's branch 
refs/heads/branch_10x from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=5de5a0d83ab ]

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.

(cherry picked from commit 02d3cb4abcc9e51dd19c47557d9f937eeb2db9ec)


> 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: 3h 40m
>  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]

Reply via email to