You cannot add to the same index on two different solrs. You can set
up separate shards for the batch and incremental indexes and use
distributed search to query both of them.

On Thu, Jul 8, 2010 at 10:04 AM, bbarani <bbar...@gmail.com> wrote:
>
> Hi,
>
> Currently we are trying to acheive both realtime and batch indexing using
> SOLR.
>
> For batch indexing we have setup a master SOLR server which uses DIH and
> indexes the data.
>
> For slave we post the XML (real time) in to the SOLR slave and add that to
> the existing SOLR document.
>
> Now my issue is that when I replicate the data present in master in to the
> slave the data that was added to the slave (by posting XML) will get
> overwritten.
>
> I cant post the XML to the master as replication of the whole master to
> slave again and again will cause performance issues. My question is
>
> Is there a way to replicate just the modified data in Master (delta) to
> slave environment?
>
> What is the best approach to implement both batch / real time indexing in
> Master / Slave environment?
>
>
> One more issue is that when I post some documents to slave directly usung
> /update handler some of the attributes are getting lost in the existing
> index. Any reason why this might be happening?
>
>
> Any help / suggestions would be of great help!!!!
>
> Thanks,
> BB
>
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Realtime-Batch-indexing-tp952293p952293.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to