include example of seting JNDI solr/home in the web.xml

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@661922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2008-05-31 00:54:08 +00:00
parent 1de21edefe
commit 914a646a7c
1 changed files with 11 additions and 0 deletions

View File

@ -30,6 +30,17 @@
"com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"/>
-->
<!-- People who want to hardcode their "Solr Home" directly into the
WAR File can set the JNDI property here...
-->
<!--
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-value>/put/your/solr/home/here</env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
-->
<!-- Any path (name) registered in solrconfig.xml will be sent to that filter -->
<filter>
<filter-name>SolrRequestFilter</filter-name>