[
https://issues.apache.org/jira/browse/SOLR-18332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109574#comment-18109574
]
Jason Gerlowski commented on SOLR-18332:
----------------------------------------
The last usage I'm struggling with is the "subquery" document transformer. I'm
tempted to suggest that we remove support for "qt" from this feature, but I'm
leery of proposing that because it's not really clear to me what sort of
subquery request would require a requestHandler other than /select. I'm not
sure whether I don't know the reason because no good reason exists, or just
because I'm ignorant and haven't done enough digging yet.
But maybe the best next-step to address that is to ask on the mailing list. If
there's compelling usage then we can keep the feature around (but perhaps gate
it behind a system property so users have to opt in to the security concerns).
But if no one can point to a usecase where "subquery" wouldn't want to use
"/select" then maybe deprecation/removal is a valid route...
> 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]