Hi,

Even with the sharded index you typically go to the master(s) that has/have all 
your shards and update the appropriate shard (in your case, based on the doc 
type).

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/

 


----- Original Message ----
> From: bbarani <bbar...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Mon, October 4, 2010 3:52:02 PM
> Subject: How to update a distributed index?
> 
> 
> Hi,
> 
> We are maintaining multiple SOLR index, one for each source (the source data
> is too huge to be stored in a single index) and we are using shards to do a
> distributed search across all the SOLR index.
> 
> We also update the SOLR documents (which was already indexed) using XML push
> 
> Now since there are multiple index being maintained, is there a way to push
> this XML to a particular index based on type?
> 
> Each index maintains the SOLR document corresponding to each type. For eg:
> index 1 stored documents (type) , index 2 stores (pictures).
> 
> If I send a XML (which will contain the type as one of the attributes) and
> if it has documents as the value it should be pushed to index 1 and if it
> has pictures it should be pushed to index 2.
> 
> Is there a way to update the index using shards?
> 
> Any suggestions / ideas would be of great help for me.
> 
> Thanks,
> Barani
> 
> 
> -- 
> View this message in context: 
>http://lucene.472066.n3.nabble.com/How-to-update-a-distributed-index-tp1631946p1631946.html
>
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to