I was hoping someone could explain to me how your Solr multicore process
currently operates.

This is what I am thinking about and I was hoping I could get some
ideas/suggestions. 

I have a master/slave setup where the master will be doing all the indexing
via DIH. Ill be doing a full-import every day or two with delta-imports
being run throughout the day. I want to be able to have have an offline core
that will be responsible for the the full-importing and when finished it
will be swapped with the live core. While the full-import may take a few
hours on the offline core Ill have delta-imports running on the live core.
All slaves will be replicating from the master live core. Any comments on
this logic?

Ok, now to the implementation. I've been playing around with the core admin
all day today but Im still unsure on the best way to accomplish the above
process. Im guessing first I need to create a new core. Then Ill have to
issue a DIH full-import against this new core. Then Ill run a swap command
against offline and live cores which should switch the cores. This sounds
about right but then Ill have a core named live which will not actually be
live anymore right? Is there anyway around this?

When setting up the new core what should I use for my instanceDir and
dataDir? At first I had something like this

home/items/data/live/index
home/items/data/offline/index

but I dont think this is right. Should I have something like this?

home/items/data/index
home/items-offline/data/index

When creating a new core from an existing core do the index files get
copied? 

Can someone please explain to me this whole process. Thanks!



-- 
View this message in context: 
http://n3.nabble.com/Multicore-process-tp681929p681929.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to