Mirko Perillo created SOLR-5333:
-----------------------------------
Summary: path prefix and admin interface
Key: SOLR-5333
URL: https://issues.apache.org/jira/browse/SOLR-5333
Project: Solr
Issue Type: Bug
Affects Versions: 4.4
Reporter: Mirko Perillo
Priority: Minor
Hi,
I'm trying to include solr 4.4 in a larger webapplication.
Comments in web.xml say that I can configure a path-prefix for solr stuff.
To do this I read that I have to (i.e. under /search prefix) :
1. configure init-param of SolrRequestFilter with /search
2. change url-pattern of SolrRequestFilter with /search/*
3. move all admin interface in a subfolder search, so something like
app.war/search/<admin_stuff>
Doing this admin interface doesn't work, because admin.html contains some
placeholder (${version},${contextPath},${adminPath}) that are replaced by
LoadAdminUiServlet
Reading source code I see that LoadAdminUiServlet this replacements is inside a
if block
InputStream in = getServletContext().getResourceAsStream("/admin.html");
if(in != null && cores != null) {
but in variable is null because admin.html has been moved in search subfolder.
Have I misunderstood something ?
thanks
Mirko
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]