Re: Separate config and index per webapp

2006-05-17 Thread Marcus Stratmann
Chris Hostetter wrote: correct .. we thought we can impliment something that looked at the war file name easily ... but then we were set straight -- there is no portable way to do that, hence we came up with the current JNDI plan which isn't quite as "out of the box" as we had hoped, but it has t

Re: Separate config and index per webapp

2006-05-17 Thread Michael Levy
Changing to works fine with my version from 2006-05-15 Thanks for your help, this is just what I needed. Yonik Seeley wrote: Try using the latest nightly build, and changing indexDir to dataDir: -Yonik On 5/17/06, Michael Levy <[EMAIL PROTECTED]> wrote: I copied solrconfig.xml, schema.

Re: Separate config and index per webapp

2006-05-17 Thread Mike Baranczak
Yeah, the config that I have (based on the repo version from a couple weeks ago) has set, and it works as expected. I don't know where the indexDir came from. On May 17, 2006, at 2:56 PM, Yonik Seeley wrote: Try using the latest nightly build, and changing indexDir to dataDir: -Yoni

Re: Separate config and index per webapp

2006-05-17 Thread Yonik Seeley
Try using the latest nightly build, and changing indexDir to dataDir: -Yonik On 5/17/06, Michael Levy <[EMAIL PROTECTED]> wrote: I copied solrconfig.xml, schema.xml, synonyms.txt, protwords.txt and stopwords.txt into the WEB-INF/classes directory and the webapp is reading those files. I w

Re: Separate config and index per webapp

2006-05-17 Thread Michael Levy
I copied solrconfig.xml, schema.xml, synonyms.txt, protwords.txt and stopwords.txt into the WEB-INF/classes directory and the webapp is reading those files. I was thinking that if I uncommented the indexDir element in solrconfig.xml, it would then use that directory in which to place the index

Re: Separate config and index per webapp

2006-05-17 Thread Chris Hostetter
: If I see it right, if I just rename the webapp to, say, "solrfoo" then : it still uses the system property solr.solr.home to search for the : configuration, *not* solrfoo.solr.home, right? correct .. we thought we can impliment something that looked at the war file name easily ... but then we w

Re: Separate config and index per webapp

2006-05-17 Thread Marcus Stratmann
Yonik Seeley wrote: 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 If I see it right, if I just rename the webapp to, say, "solrfoo" then it still uses the s

Re: Separate config and index per webapp

2006-05-15 Thread Ken Krugler
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 fil

Re: Separate config and index per webapp

2006-05-15 Thread Mike Baranczak
On May 15, 2006, at 3:26 PM, Yonik Seeley wrote: 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 defa

Re: Separate config and index per webapp

2006-05-15 Thread Yonik Seeley
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 fil

Separate config and index per webapp

2006-05-15 Thread Michael Levy
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-w