: Maybe my code is out of date, but I didn't see /solr/conf being used
: as the path.

yeah .. this was changed starting with the 2006-04-01 nightly builds,
Yonik sent out an announcement about it on Mar31.  That's when the "solr
home" concept was introduced, and the data directory was changed to be
relative it.

i would suggest you upgrade to a new nightly build, and try using
-Dsolr.solr.home

: a. Change the CWD - not sure how to do that for a webapp inside of Resin.

FYI: there's really no way to do it per webapp, it's just a question of
what directory you start resin in -- that's one of the reasons the
solr.solr.home system property was created ... but we're realizing now
that we can't quite do what we thought we could to support multiple
instances in the same server instance, so an additional mechanism is
likely to be added soon -- more details can be found on the solr-dev list.

I think I just ran into this...

I'd like to run two copies of Solr from inside Resin, since I have two sets of searchable data with very distinct schemas/usage patterns. But I can only specify one location for the configuration directory, at least using either solr.configdir or solr.solr.home.

Once I'm subscribed to the dev list, I'll post my question about timing on a fix versus doing something quick now for my needs. FWIW, the quick fix for me is to pass in a directory location as an init() parameter (via the servlet's web.xml)

Thanks,

-- Ken
--
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"

Reply via email to