You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Lance Norskog <go...@gmail.com> on 2008/05/01 05:52:53 UTC
MultiCore on Wiki
The MultiCore writeup on the Wiki (http://wiki.apache.org/solr/MultiCore)
says:
...
Configuration->core->dataDir
The data directory for a given core. (optional)
How can a core not have its own dataDir? What happens if this is not set?
Cheers,
Lance Norskog
Re: MultiCore on Wiki
Posted by Ryan McKinley <ry...@gmail.com>.
by default, each core has its own data (and index) you *could*
configure it to share the same data. The catch is you would need to
be careful that only one core is writing to the index . It is
potentially useful in some rare cases...
On May 1, 2008, at 1:14 AM, Norskog, Lance wrote:
> I think I meant: this writeup implies to me that two cores could share
> the same "default" index. I don't see how this would work, or be
> useful.
>
> Thanks,
>
> Lance Norskog
>
> -----Original Message-----
> From: Ryan McKinley [mailto:ryantxu@gmail.com]
> Sent: Wednesday, April 30, 2008 9:30 PM
> To: solr-user@lucene.apache.org
> Subject: Re: MultiCore on Wiki
>
>
> On Apr 30, 2008, at 11:52 PM, Lance Norskog wrote:
>> The MultiCore writeup on the Wiki
>> (http://wiki.apache.org/solr/MultiCore
>> )
>> says:
>>
>> ...
>> Configuration->core->dataDir
>> The data directory for a given core. (optional)
>>
>> How can a core not have its own dataDir? What happens if this is not
>> set?
>>
>
> It defaults to the "normal" location, that is whatever is specified in
> solrconfig.xml or "data" relative to the solr.home for that
> directory.
>
> (I'm not looking at the code now, so try it out and see...)
>
> ryan
RE: MultiCore on Wiki
Posted by "Norskog, Lance" <la...@divvio.com>.
I think I meant: this writeup implies to me that two cores could share
the same "default" index. I don't see how this would work, or be useful.
Thanks,
Lance Norskog
-----Original Message-----
From: Ryan McKinley [mailto:ryantxu@gmail.com]
Sent: Wednesday, April 30, 2008 9:30 PM
To: solr-user@lucene.apache.org
Subject: Re: MultiCore on Wiki
On Apr 30, 2008, at 11:52 PM, Lance Norskog wrote:
> The MultiCore writeup on the Wiki
> (http://wiki.apache.org/solr/MultiCore
> )
> says:
>
> ...
> Configuration->core->dataDir
> The data directory for a given core. (optional)
>
> How can a core not have its own dataDir? What happens if this is not
> set?
>
It defaults to the "normal" location, that is whatever is specified in
solrconfig.xml or "data" relative to the solr.home for that directory.
(I'm not looking at the code now, so try it out and see...)
ryan
Re: MultiCore on Wiki
Posted by Ryan McKinley <ry...@gmail.com>.
On Apr 30, 2008, at 11:52 PM, Lance Norskog wrote:
> The MultiCore writeup on the Wiki (http://wiki.apache.org/solr/MultiCore
> )
> says:
>
> ...
> Configuration->core->dataDir
> The data directory for a given core. (optional)
>
> How can a core not have its own dataDir? What happens if this is not
> set?
>
It defaults to the "normal" location, that is whatever is specified in
solrconfig.xml or "data" relative to the solr.home for that directory.
(I'm not looking at the code now, so try it out and see...)
ryan