lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Re: help on implicit routing
Date Fri, 07 Jul 2017 08:50:21 GMT
http://lucene.apache.org/solr/guide/6_6/shards-and-indexing-data-in-solrcloud.html <http://lucene.apache.org/solr/guide/6_6/shards-and-indexing-data-in-solrcloud.html>

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 6. jul. 2017 kl. 03.15 skrev imran@elogic.pk:
> 
> I am trying out the document routing feature in Solr 6.4.1. I am unable to comprehend
the documentation where it states that 
> “The 'implicit' router does not
> automatically route documents to different
> shards.  Whichever shard you indicate on the
> indexing request (or within each document) will
> be used as the destination for those documents”
> 
> How do you specify the shard inside a document? E.g If I have basic collection with two
shards called day_1 and day_2. What value should be populated in the router field that will
ensure the document routing to the respective shard?
> 
> Regards,
> Imran
> 
> Sent from Mail for Windows 10
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message