I previously asked this question and did not receive any suggestions.
I also asked on Jetty-Users and one person suggested I ask again here so I 
thought it might be worth it to ask again.

Solr is deployed to “/solr” and is then mapped to “/“, e.g. 
http://localhost:8983/ <http://localhost:8983/> gets mapped to 
http://localhost:8983/solr/# <http://localhost:8983/solr/#>.
I want to put a different servlet at “/“ while preserving Solr functionality at 
“/solr”.
The reason for this is that I previously deployed my app with Solr on 
tomcat/tomee via war file and now want to use a current Solr release using 
Solr/Jetty.

I thought the way to accomplish that was to re-assign  the "root context", e.g. 
contextPath =“/“ but cannot find a way to do this with Solr/Jetty.

My unsuccessful attempts included:

- edit contexts/solr-jetty-context.xml (contextPath, add resourceBase, etc.)
- unmap solr rewrite rule to pass thru . . .
- edit other '/contexts/' . . .
- edit etc/webdefault.xml . . .
- bin/solr does not appear to affect "/"
- org.apache.solr.util.SolrCLI does not appear to affect "/"

Perhaps I’m not trying the right combination of things in the right order to 
solve the issue, but I’ve run out of simple ideas to try.

Does anyone have any other suggestions?
Thank you, any help would be appreciated!

-matt.

Reply via email to