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

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

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

SOLR-18332: Remove avoidable QT-usage in SolrStream construction (#4799)

One place where "QT" is very commonly used is in Solr's streaming
expressions code. Much of this is attributable to the SolrStream class
and its cousins, which send HTTP requests but don't offer any way for
callers to specify the HTTP path (without smuggling a "QT" parameter
into the SolrParams object they consume).

This commit introduces a new SolrStream ctor that takes in a path, so
that these requests can be made without the 'qt' mechanism.

(cherry picked from commit 4bda06abf6fa80cbfc33f4c01907e68a17cfabb4)


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to