[
https://issues.apache.org/jira/browse/SOLR-17968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18081900#comment-18081900
]
ASF subversion and git services commented on SOLR-17968:
--------------------------------------------------------
Commit e5340a954b6700627b8826431a243c2e2759b0f3 in solr's branch
refs/heads/branch_10x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e5340a954b6 ]
SOLR-17968: HttpSolrClient as new base class (#3829)
**Summary:** Reintroduce HttpSolrClient by promoting and refactoring
`HttpSolrClientBase`. Kept the(test) Apache HttpClient implementation in its
own package while new Jetty and JDK implementations extend the common base.
**Key Changes:**
1. **Renamed** `HttpSolrClientBase` → `HttpSolrClient` (new primary base class)
2. **Restructured builders** - converted `HttpSolrClientBuilderBase` into an
inner class `HttpSolrClient.BuilderBase`
3. **Added factory method** - static `HttpSolrClient.builder(url)` to simplify
client creation
4. **Method rename** - instance method `builder()` → `toBuilder(url)` to avoid
naming conflicts
> Add HttpSolrClient as base class
> --------------------------------
>
> Key: SOLR-17968
> URL: https://issues.apache.org/jira/browse/SOLR-17968
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Affects Versions: 10.0
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> Add HttpSolrClient base class with {{{}getBaseURL(){}}}. HttpSolrClientBase
> (base of Jetty & JDK clients) shall implement it.
> The "old" HttpSolrClient (the implementation using Apache HttpClient) is
> temporarily in the test framework on death row. This issue would rename that
> to HttpApacheSolrClient, and also make it extend HttpSolrClient. There's a
> bit of builder conversion to do, to make that happen there.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]