Re: Ability to load solrcore.properties from zookeeper

2015-06-04 Thread Chris Hostetter
: 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.prop

Re: Ability to load solrcore.properties from zookeeper

2015-05-30 Thread Steve Davids
the refactoring route I can leave it to Alan to take a crack at it. Thanks, -Steve On Fri, May 29, 2015 at 3:29 AM, Alan Woodward wrote: > 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

Re: Ability to load solrcore.properties from zookeeper

2015-05-29 Thread Alan Woodward
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

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Chris Hostetter
: 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

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Chris Hostetter
: 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

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Erick Erickson
om the > configset, and then local core-specific properties overriding both. > > Do you want to open a JIRA bug, Steve? > > Alan Woodward > www.flax.co.uk > > > On 28 May 2015, at 00:58, Chris Hostetter wrote: > >> : I am attempting to override some properties in m

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Alan Woodward
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. On

Re: Ability to load solrcore.properties from zookeeper

2015-05-27 Thread Chris Hostetter
: 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

Ability to load solrcore.properties from zookeeper

2015-05-27 Thread Steve Davids
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 sp

Re: Solrcore.properties variable question.

2014-05-16 Thread Shawn Heisey
> Hi, > > We have a couple of Solr servers acting as master and slave, and each > server have the same amount of cores, we are trying to configure the > solrcore.properties so that an script is able to add cores without > changing the solrcore.properties using a hack like this:

Solrcore.properties variable question.

2014-05-13 Thread Guido Medina
Hi, We have a couple of Solr servers acting as master and slave, and each server have the same amount of cores, we are trying to configure the solrcore.properties so that an script is able to add cores without changing the solrcore.properties using a hack like this: enable.master=false

Re: Solrcore.properties variable question.

2014-05-12 Thread Shawn Heisey
On 5/8/2014 2:01 AM, Guido Medina wrote: > We have a couple of Solr servers acting as master and slave, and each > server have the same amount of cores, we are trying to configure the > solrcore.properties so that an script is able to add cores without > changing the solrcore.proper

solrcore.properties in solrcloud

2014-05-11 Thread Suchi Amalapurapu
Hi Can some one clarify the role of solrcore.properties in Solr 4.3+? We can define custom properties in solrcore.properties and use them in solrconfig.xml Will this functionality be retained going forward? Suchi

Solrcore.properties variable question.

2014-05-10 Thread Guido Medina
Hi, We have a couple of Solr servers acting as master and slave, and each server have the same amount of cores, we are trying to configure the solrcore.properties so that an script is able to add cores without changing the solrcore.properties using a hack like this: enable.master=false

RE: Solr 4.1.0 not using solrcore.properties ?

2013-07-23 Thread sathish_ix
Hi , Can any one help on how to refer the solrcore.properties uploaded into Zookeeper ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-1-0-not-using-solrcore-properties-tp4040228p4079654.html Sent from the Solr - User mailing list archive at Nabble.com.

Using properties from solrcore.properties in data-config.xml (Solr 4.2.1)

2013-04-29 Thread Arun Rangarajan
We are trying to upgrade from Solr 3.6.2 to Solr 4.2.1 and are having problems with using properties in solrcore.properties inside data-config.xml. With Solr 3.6.2, we were able to directly use properties in solrcore.properties inside data-config.xml like ${jdbc.driver}, ${jdbc.username}, etc

RE: Solr 4.1.0 not using solrcore.properties ?

2013-02-14 Thread Dyer, James
, February 13, 2013 5:47 PM To: solr-user@lucene.apache.org Subject: Re: Solr 4.1.0 not using solrcore.properties ? James, I debugged it until I found where things go 'wrong'. Apparently the current implementation VariableResolver does not allow the use of a period '.' in any varia

Re: Solr 4.1.0 not using solrcore.properties ?

2013-02-14 Thread Erick Erickson
gt; >> The code that resolves variables in DIH was refactored extensively in > >> 4.1.0. So if you've got a case where it does not resolve the variables > >> properly, please give the details. We can open a JIRA issue and get > this > >> fixed. > >&g

Re: Solr 4.1.0 not using solrcore.properties ?

2013-02-14 Thread Daniel Rijkhof
er >> Ingram Content Group >> (615) 213-4311 >> >> -Original Message- >> From: Daniel Rijkhof [mailto:daniel.rijk...@gmail.com] >> Sent: Wednesday, February 13, 2013 11:09 AM >> To: solr-user@lucene.apache.org >> Subject: Re: Solr 4.1.0 not

Re: Solr 4.1.0 not using solrcore.properties ?

2013-02-13 Thread Daniel Rijkhof
ailto:daniel.rijk...@gmail.com] > Sent: Wednesday, February 13, 2013 11:09 AM > To: solr-user@lucene.apache.org > Subject: Re: Solr 4.1.0 not using solrcore.properties ? > > I am looking at the source code of 4.1.0 and I cannot find any prove that > solr 4.1.0's DIH would a

RE: Solr 4.1.0 not using solrcore.properties ?

2013-02-13 Thread Dyer, James
ssage- From: Daniel Rijkhof [mailto:daniel.rijk...@gmail.com] Sent: Wednesday, February 13, 2013 11:09 AM To: solr-user@lucene.apache.org Subject: Re: Solr 4.1.0 not using solrcore.properties ? I am looking at the source code of 4.1.0 and I cannot find any prove that solr 4.1.0's DIH woul

Re: Solr 4.1.0 not using solrcore.properties ?

2013-02-13 Thread Daniel Rijkhof
I am looking at the source code of 4.1.0 and I cannot find any prove that solr 4.1.0's DIH would actually use any properties from the solrcore.properties file. I do however found that Solr does load my solrcore.properties file... It's strange that this would have been changed, Does an

Re: solrcore.properties

2012-02-07 Thread darul
Walter Underwood wrote > > Looking at SOLR-1335 and the wiki, I'm not quite sure of the final > behavior for this. > > These properties are per-core, and not visible in other cores, right? > > yes it is. Walter Underwood wrote > > > Are variables substituted in solr.xml, so I can swap in

solrcore.properties

2012-02-06 Thread Walter Underwood
Looking at SOLR-1335 and the wiki, I'm not quite sure of the final behavior for this. These properties are per-core, and not visible in other cores, right? Are variables substituted in solr.xml, so I can swap in different properties files for dev, test, and prod? Like this: If that does not

Re: Solrcore.properties

2011-03-29 Thread Ezequiel Calderara
Just for the record, in case anymore is having trouble, the masterUrl should be: http://url:port/solr/replication (don't forget the /replication/ part!) On Tue, Mar 29, 2011 at 9:44 AM, Ezequiel Calderara wrote: > I think that i found the problem: > The contents of the solrcore.prop

Re: Solrcore.properties

2011-03-29 Thread Ezequiel Calderara
I think that i found the problem: The contents of the solrcore.properties were: > #solrcore.properties > data.dir=D:\Solr\data\solr\ > enable.master=false > enable.slave=true > masterUrl=http://url:8787/solr/ > pollInterval=00:00:60 > I found a folder in the D:\ called: Solr

Re: Solrcore.properties

2011-03-29 Thread Ezequiel Calderara
Hi Jayendra, this is the content of the files: In the Master: + SolrConfig.xml : http://pastebin.com/JhvwMTdd In the Slave: + solrconfig.xml: http://pastebin.com/XPuwAkmW + solrcore.properties: http://pastebin.com/6HZhQG8z I don't know which other files do you need or could be involved in

Re: Solrcore.properties

2011-03-28 Thread Jayendra Patil
chema.xml  ${enable.slave:false}  http://master_host:port/solr/corename/replication - solrcore.properties