You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2016/11/18 22:12:58 UTC
[jira] [Closed] (SOLR-5333) path prefix and admin interface
[ https://issues.apache.org/jira/browse/SOLR-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cassandra Targett closed SOLR-5333.
-----------------------------------
Resolution: Won't Fix
Deploying Solr in containers is no longer supported as of Solr 5, and it's unlikely any work will be done to resolve issues for 4.x or earlier.
https://wiki.apache.org/solr/WhyNoWar
> 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.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org