[ 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-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org