[ 
https://issues.apache.org/jira/browse/SOLR-16158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Houston Putman updated SOLR-16158:
----------------------------------
    Description: 
SolrJettyServer is a very useful way of running Solr within an application or 
test. However, it does not really need to be included in Solr Core. It can be 
provided in the test-framework module, so that Solr Core does not need to 
depend on Jetty Server jars.

This will allow Solr to put all shared server & Solr (web-app) dependencies in 
{{server/lib/ext/}}.

However, as noted in the Github PR, Jetty does not allow "server" classes 
(including the classes in jetty-io, jetty-util, jetty-http, etc) to be used by 
the web-app (Solr) and the jetty server. Therefore we need to explicitly remove 
this restriction when we implement this.

  was:
Solr Embedded is a very useful way of running Solr within an application or 
test.

However, it does not really need to be included in Solr Core. It should be in a 
separate module under {{/solr/embedded}}, so that Solr Core does not need to 
depend on Jetty Server jars.

This can only really go into 10.0, since it will be a breaking change.


> Simplify solr-core dependencies, remove duplicate jars
> ------------------------------------------------------
>
>                 Key: SOLR-16158
>                 URL: https://issues.apache.org/jira/browse/SOLR-16158
>             Project: Solr
>          Issue Type: Improvement
>          Components: Embedded
>    Affects Versions: main (10.0)
>            Reporter: Houston Putman
>            Priority: Major
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> SolrJettyServer is a very useful way of running Solr within an application or 
> test. However, it does not really need to be included in Solr Core. It can be 
> provided in the test-framework module, so that Solr Core does not need to 
> depend on Jetty Server jars.
> This will allow Solr to put all shared server & Solr (web-app) dependencies 
> in {{server/lib/ext/}}.
> However, as noted in the Github PR, Jetty does not allow "server" classes 
> (including the classes in jetty-io, jetty-util, jetty-http, etc) to be used 
> by the web-app (Solr) and the jetty server. Therefore we need to explicitly 
> remove this restriction when we implement this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to