Thanks Yonik and Chris for your confirmation. Chris, these are read-only
index partitions. I perform updates/deletions on a master index which will
be snapshotted at some fixed intervals. I'll look into the Collection
Distribution of Solr. Sounds very powerful.

I'm struck with Solr requiring an index directory under dataDir configured
in SolrConfig.  Why does it not take a complete path_to_index configured
under dataDir but append "index"? Is there anyway I can workaround this?

org.apache.solr.core.SolrCore:  this.index_path = dataDir + "/" + "index";

Thanks,
Venkatesh

On 3/8/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:


: > Can I point 2 Solr instances to the same index partition, having the
same
: > path in SolrConfig?
:
: Yes, that should work fine.

you might run into some weirdness if you send updates/delets to both
instances .. basically you'll want to configure all but one instace as a
"slave" and anytime you do a commit on the master you'll want to trigger
a commit on all of the slaves so that they reopen the index.

(just like using the snapshot scripts, except you don't need to snapshoot,
snappull, or snapinstall)



-Hoss


Reply via email to