lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael <solrco...@gmail.com>
Subject Re: Default query parameter for one core
Date Fri, 09 Oct 2009 14:13:29 GMT
On Fri, Oct 9, 2009 at 6:03 AM, Shalin Shekhar Mangar
<shalinmangar@gmail.com> wrote:
> Michael, the last line does not seem right. The <core> tag has nothing
> called shardParam. If you want to add a core property called shardParam, you
> need to add something like this:
>
> <cores adminPath="/admin/cores" shareSchema="true">
>  <core name="core0" instanceDir="./">
>
>  <property name="shardsParam"
> value="localhost:9990/core1,localhost:9990/core2,localhost:9990/core3,localhost:9990/core4"/>
> </core>
> </cores>

Thanks, Shalin!  I had seen a solrconfig.xml referencing
${solr.core.instanceDir} which *is* defined as a <core> attribute, so
I falsely assumed it would accept arbitrary properties as attributes
on the <core> tag.

Mime
View raw message