dsmiley opened a new pull request, #4214:
URL: https://github.com/apache/solr/pull/4214
- Created SolrBackend interface to abstract over different Solr deployment
types
- Added implementations:
- EmbeddedSolrBackend: in-process CoreContainer/EmbeddedSolrServer
- RemoteSolrBackend: CloudSolrClient connecting to remote SolrCloud cluster
- JettySolrRunner: HTTP/Jetty + EmbeddedSolrServer
- MiniSolrCloudCluster: embedded multi-node SolrCloud
Key features:
- Unified API for collection/configSet management across deployment types
- Methods throw SolrServerException & IOException
- hasConfigSet/hasCollection methods for existence checking
- createCollection/uploadConfigSet for resource creation
- getBaseUrl(Random) returns URL of a node (random for cloud deployments)
- dumpMetrics/dumpCoreInfo for diagnostics
https://issues.apache.org/jira/browse/SOLR-18150
This PR only introduces the abstraction but no callers. Follow-on is to do
so with benchmarks & tests separately. I have WIP for the benchmark side
already.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]