You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/03/04 19:29:00 UTC
[jira] [Updated] (SOLR-17043) Remove SolrClient path pattern matching
[ https://issues.apache.org/jira/browse/SOLR-17043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SOLR-17043:
----------------------------------
Labels: V2 pull-request-available (was: V2)
> Remove SolrClient path pattern matching
> ---------------------------------------
>
> Key: SOLR-17043
> URL: https://issues.apache.org/jira/browse/SOLR-17043
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ, v2 API
> Reporter: Jason Gerlowski
> Priority: Minor
> Labels: V2, pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, some SolrClient implementations (especially our "load-balancing" and "cloud" clients) do pattern-matching on the path to guess the "type" (admin, update, etc. ) of each request. This seems unnecessary though, as SolrRequest already has a "getRequestType" method exposing this. We should use this method where possible instead of the ad-hoc pattern matching we currently do, which is brittle and doesn't map well to the varied paths used by our v2 APIs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org