OK, a hacky but working solution to making one core shard to all
others: have the default parameter *name* vary, so that one core gets
"&shards=foo" and all other cores get "&dummy=foo".
# solr.xml
...
# solrconfig.xml
${shardsValue}
...
Michael
On Mon, O
Thanks for your input, Shalin.
On Sun, Oct 11, 2009 at 12:30 AM, Shalin Shekhar Mangar
wrote:
>> - I can't use a variable like ${shardsParam} in a single shared
>> solrconfig.xml, because the line
>> ${shardsParam}
>> has to be in there, and that forces a (possibly empty) &shards
>> parameter
On Fri, Oct 9, 2009 at 9:39 PM, Michael wrote:
> For posterity...
>
> After reading through http://wiki.apache.org/solr/SolrConfigXml and
> http://wiki.apache.org/solr/CoreAdmin and
> http://issues.apache.org/jira/browse/SOLR-646, I think there's no way
> for me to make only one core specify &sha
On Fri, Oct 9, 2009 at 7:56 PM, Michael wrote:
> Hm... still no success. Can anyone point me to a doc that explains
> how to define and reference core properties? I've had no luck
> searching Google.
>
> Shalin, I gave an identical '' tag to
> each of my cores, and referenced ${solr.core.shards
For posterity...
After reading through http://wiki.apache.org/solr/SolrConfigXml and
http://wiki.apache.org/solr/CoreAdmin and
http://issues.apache.org/jira/browse/SOLR-646, I think there's no way
for me to make only one core specify &shards=foo, short of duplicating
my solrconfig.xml for that cor
On Fri, Oct 9, 2009 at 10:26 AM, Michael wrote:
> Hm... still no success. Can anyone point me to a doc that explains
> how to define and reference core properties? I've had no luck
> searching Google.
OK, definition is described here:
http://wiki.apache.org/solr/CoreAdmin#property -- a page I'v
Hm... still no success. Can anyone point me to a doc that explains
how to define and reference core properties? I've had no luck
searching Google.
Shalin, I gave an identical '' tag to
each of my cores, and referenced ${solr.core.shardsParam} (with no
default specified via a colon) in solrconfig
On Fri, Oct 9, 2009 at 6:03 AM, Shalin Shekhar Mangar
wrote:
> Michael, the last line does not seem right. The tag has nothing
> called shardParam. If you want to add a core property called shardParam, you
> need to add something like this:
>
>
>
>
> value="localhost:9990/core1,localhost:999
On Wed, Oct 7, 2009 at 11:16 PM, Michael wrote:
> I'd like to have 5 cores on my box. core0 should automatically shard to
> cores 1-4, which each have a quarter of my corpus.
> I tried this in my solrconfig.xml:
>
>
>
> ${solr.core.shardsParam:}
>
>
>
> and this in my solr.x
On Wed, Oct 7, 2009 at 1:46 PM, Michael wrote:
> Is there a way to not have the shards param at all for most cores, and for
> core0 to specify it?
E.g. core0 requests always get a "&shards=foo" appended, while other
cores don't have an "&shards" param at all.
Or, barring that, is there a way to
I'd like to have 5 cores on my box. core0 should automatically shard to
cores 1-4, which each have a quarter of my corpus.
I tried this in my solrconfig.xml:
${solr.core.shardsParam:}
and this in my solr.xml:
Unfortunately, this doesn't work, because cores
11 matches
Mail list logo