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 muneeb <mu...@hotmail.com> on 2010/03/03 13:42:59 UTC

need help with Solr Cores

Hi Everyone,

I am new to Solr, and still trying to get my hands on it.
I have indexed over 6 million documents and currently have a single large
index. I update my index using SolrJ client due to the format I store my
documents (i.e. JSON blobs) in database.

I need to find a way to have multiple indexes for one solr instance. One for
ongoing query search and one for updating index with new documents/schema
etc. the idea is to switch between indexes while one is being updated. So
that users could still search my index.

I know Solr supports multiple cores and I have read wiki pages plus mailing
lists on this, which help alot. However I am still confused with the need of
having two separate indexes. I have solr.xml in solr.home dir with two dirs
for each core and each core has conf folder copied from standard solr.home
folder. 

Do i need data folder in each core's directory? and Should i copy/paste the
index folder in each core's directory?

Thanks for your help in advance!!


-- 
View this message in context: http://old.nabble.com/need-help-with-Solr-Cores-tp27767694p27767694.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: need help with Solr Cores

Posted by muneeb <mu...@hotmail.com>.
Figured it out !!

I actually created two folders in solr.home/data folder, each holding the
index for a given core. So for core0 and core1 i had indexes as:

solr.home/data/core0/index
solr.home/data/core1/index

Feeling a little stupid now, having figured out a simple issue :s



muneeb wrote:
> 
> Hi Everyone,
> 
> I am new to Solr, and still trying to get my hands on it.
> I have indexed over 6 million documents and currently have a single large
> index. I update my index using SolrJ client due to the format I store my
> documents (i.e. JSON blobs) in database.
> 
> I need to find a way to have multiple indexes for one solr instance. One
> for ongoing query search and one for updating index with new
> documents/schema etc. the idea is to switch between indexes while one is
> being updated. So that users could still search my index.
> 
> I know Solr supports multiple cores and I have read wiki pages plus
> mailing lists on this, which help alot. However I am still confused with
> the need of having two separate indexes. I have solr.xml in solr.home dir
> with two dirs for each core and each core has conf folder copied from
> standard solr.home folder. 
> 
> Do i need data folder in each core's directory? and Should i copy/paste
> the index folder in each core's directory?
> 
> Thanks for your help in advance!!
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/need-help-with-Solr-Cores-tp27767694p27769171.html
Sent from the Solr - User mailing list archive at Nabble.com.