[ 
https://issues.apache.org/jira/browse/SOLR-15730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503222#comment-17503222
 ] 

Jan Høydahl commented on SOLR-15730:
------------------------------------

I like your proposal David. Small incremental changes under the hood without 
users noticing. And a bit easier to offer "opt-out" in 9.x while modules are in 
flux.

Example: In 9.1 we split out the 
{{org.apache.solr:solrj-solrj-zookeeper:9.1.0}} module, then users will still 
depend on {{org.apache.solr:solr-solrj:9.1.0.}} but the jar will be slimmer 
than in 9.0 and its "pom" will depend on solr-solrj-zookeeper module, so the 
end result is the same for the user. But excluding everything zookeeper will 
become easier by excluding the solr-zookeeper module only.

Perhaps we should add some ready-made exclusion snippets for maven and gradle 
to the ref-guide or in javadoc for solrj. To help users un-bloat their app by 
explaining to them which dependencies they can safely exclude if they do not 
use ZK, ZK-SSL, Streaming, XML, JavaBeans etc.

> Modularize SolrJ
> ----------------
>
>                 Key: SOLR-15730
>                 URL: https://issues.apache.org/jira/browse/SOLR-15730
>             Project: Solr
>          Issue Type: Task
>          Components: SolrJ
>            Reporter: Jan Høydahl
>            Priority: Major
>         Attachments: Skjermbilde 2021-10-28 kl. 15.38.40.png
>
>
> Umbrella issue for breaking up SolrJ into a slim solrj-core with minimal 
> dependencies as well as solrj-zk, solrj-streaming, solrj-jdbc etc as needed.
> We can move relevant other JIRAs as sub-tasks to this one to keep everything 
> together.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to