On 3/15/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
> : In order to simplify colocating solr with the app server home (which
> : many people seem to want to do) I think ./conf should be changed to
> : ./solrconf.
>
> +1
>
> we may also just want to make it possible to specify with a JVM system
> property, so there aren't any hard coded path constants in the code.

+1

> To make testing multiple configs feasible, i'm still hopping we can make
> it possible to specify the path to the solrconfig.xml in a constructor to
> the SolrCore ... but i realized last night that SolrConfig is a static
> singleton ... changing that is going to be an anoying patch.

Yes, I'm not real happy with the statics... way back when this was a
two week prototype hack, everything went into SolrCore (well,
everything except the schema).  Over time, I've migrated stuff out,
but it's still not clean.

I briefly thought about going down the road of using something like
Spring for configuration and component management, but being a Spring
novice, it didn't really fit in that rapid prototype timespan. It
might make sense for some future version of Solr...

-Yonik

Reply via email to