[
https://issues.apache.org/jira/browse/SOLR-18332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109467#comment-18109467
]
ASF subversion and git services commented on SOLR-18332:
--------------------------------------------------------
Commit 7290808902b7fe580ca20f9f0b7cf2a60cc2a455 in solr's branch
refs/heads/branch_10x from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=7290808902b ]
SOLR-18332: Replace CloudSolrStream 'qt' usage (#4816)
The 'qt' parameter and several related methods in SolrJ are deprecated.
This deprecation may not stick, but it's still worth minimizing use of this
feature as much as possible. One place where 'qt' is still used
frequently is in CloudSolrStream (and related "expression" strings).
This commit addresses this by giving CloudSolrStream and friends a
constructor parameter that allows users to specify the path at creation-
time instead of relying on "qt".
CloudSolrStream is also an "Expressible", meaning that it maps to our
user-facing streaming-expression syntax. So this PR also adds
"path" as a parameter name in that expression syntax.
(cherry picked from commit 96cf082b6e674dc4dc8322f037901df2d9dacd69)
> 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]