The file that he refers to, web.xml, is inside the solr WAR file in folder 
web-inf.  That WAR file is in ...\example\webapps.   You would have to 
uncomment the <init-param> section under <filter-class> and change the 
<param-value> to something else.  But, as the comments in the <filter-class> 
section explain, you would also have to make other changes.

If you are unfamiliar with how JEE Java applications are packaged, it might be 
best to leave it alone.

Note that both alternatives that he has suggested would change the path for all 
of solr, not just admin.

JRJ


-----Original Message-----
From: Ankita Patil [mailto:ankita.pa...@germinait.com] 
Sent: Tuesday, November 01, 2011 11:44 PM
To: solr-user@lucene.apache.org
Subject: Re: change solr url

I am not very clear. Could you explain a bit in detail or give an example.

Ankita.

On 2 November 2011 06:26, Chris Hostetter <hossman_luc...@fucit.org> wrote:

>
> : Is it possible to change the url for solr admin??
> : What i want is :
> : http://192.168.0.89:8983/solr/private/coreName/admin
> :
> : i want to add /private/ before the coreName. Is that possible? If yes
> how?
>
> You can either do this via settings in your servlet container (to specify
> that hte mapping of hte solr applicaiton should be "solr/private" instead
> of "solr/" or you can modify the "path-prefix" value in Solr's web.xml
> (but that is not very well tested/supported)
>
>
>
>
> -Hoss
>

Reply via email to