lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McKinley <ryan...@gmail.com>
Subject Re: MultiCore on Wiki
Date Thu, 01 May 2008 05:39:50 GMT
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


Mime
View raw message