Jetty is an implementation detail in Solr 5.0 -- modifying the underlying jetty configs, or directly adding handlers isn't supported by Solr. I nthe future, jetty may be ripped out completely and replaced with some other networking stack w/o advanced notice (probably unlikely, but smaller changes with similar impacts on users who depend on jetty specifics are very plausable -- example: switching how the HTTP connectors are initialized to be done via java code)
in general, users should treat Solr as a black box that speaks HTTP more details... https://cwiki.apache.org/confluence/display/solr/Major+Changes+from+Solr+4+to+Solr+5 http://wiki.apache.org/solr/WhyNoWar : Date: Tue, 7 Jul 2015 12:03:37 -0400 : From: Steven White <swhite4...@gmail.com> : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Jetty in Solr 5.2.0 : : Hi Everyone, : : This may be a question to be posted on Jetty mailing list, but I figured I : should start here first. : : Using Solr 5.2.0, when I start Solr, http://localhost:8983/solr/ is the : entry point. My question is: : : 1) Where is "solr" on the file system? : 2) How can I add http://localhost:8983/MyHandler/ to Jetty? : : For #2, I'm exploring the possibility of using the existing Web Server to : see if I can have an additional application running on the same host as : Solr. : : Thanks : : Steve : -Hoss http://www.lucidworks.com/