: passed in as a Properties object to the CD constructor. At the moment,
: you can't refer to a property defined in solrcore.properties within your
: core.properties file.
but if you look at it fro ma historical context, that doesn't really
matter for the purpose that solrcore.properties was
Sorry for not responding back earlier, I went ahead and created a ticket
here:
https://issues.apache.org/jira/browse/SOLR-7613
It does look somewhat trivial if you just update the current loading
mechanism as Chris describes, I can provide a patch for that if you want.
Though, if you want to go t
Yeah, you could do it like that. But looking at it further, I think
solrcore.properties is actually being loaded in entirely the wrong place - it
should be done by whatever is creating the CoreDescriptor, and then passed in
as a Properties object to the CD constructor. At the moment, you can't
: certainly didn't intend to write it like this!). The problem here will
: be that CoreDescriptors are currently built entirely from
: core.properties files, and the CoreLocators that construct them don't
: have any access to zookeeper.
But they do have access to the CoreContainer which is pa
: Never even considered loading core.properties from ZK, so not even an
: oversight on my part ;)
to be very clear -- we're not talking about core.properties.
we're talking about solrcore.properties -- the file that's existed for
much longer then core.properites (predates both solrcloud and
Never even considered loading core.properties from ZK, so not even an
oversight on my part ;)
On Thu, May 28, 2015 at 3:48 AM, Alan Woodward wrote:
> I think this is an oversight, rather than intentional (at least, I certainly
> didn't intend to write it like this!). The problem here will
I think this is an oversight, rather than intentional (at least, I certainly
didn't intend to write it like this!). The problem here will be that
CoreDescriptors are currently built entirely from core.properties files, and
the CoreLocators that construct them don't have any access to zookeeper.
: I am attempting to override some properties in my solrconfig.xml file by
: specifying properties in a solrcore.properties file which is uploaded in
: Zookeeper's collections/conf directory, though when I go to create a new
: collection those properties are never loaded. One work-around is to spec
I am attempting to override some properties in my solrconfig.xml file by
specifying properties in a solrcore.properties file which is uploaded in
Zookeeper's collections/conf directory, though when I go to create a new
collection those properties are never loaded. One work-around is to specify
prop