On 5/15/06, Michael Levy <[EMAIL PROTECTED]> wrote:
I'd like to use Solr for a number of separate projects running on a
single Tomcat instance; I thought I would have Solr running a separate
webapp for each project.
I understand that the default location for the solrconfig.xml and
schema.xml files and for the index are under Tomcat's
current-working-directory/solr/conf
I am hoping I can change the default location for each webapp. Thanks!
It's not yet possible, but see this thread:
http://www.mail-archive.com/solr-dev@lucene.apache.org/msg00298.html
It looks like JNDI offers the easiest portable way.
The main SolrServlet would then need to be modified to do a JNDI
lookup and base config off of that.
I worked around it this way:
http://www.mail-archive.com/solr-dev@lucene.apache.org/msg00321.html
-- Ken
--
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"