Re: composite hash

2017-06-05 Thread Susheel Kumar
Yes, otherwise when you query with /3 it is going to go to different shards (1/8th of total shards) and would not find the documents since the documents you indexed before adding /3 will reside on only one of the shard. On Mon, Jun 5, 2017 at 2:50 PM, Shawn Feldman wrote: > If i add the /3 will

Re: composite hash

2017-06-05 Thread Shawn Feldman
If i add the /3 will i need to reindex? On Mon, Jun 5, 2017 at 11:50 AM Susheel Kumar wrote: > Its should be _route_=myshard/3! > > On Mon, Jun 5, 2017 at 12:54 PM, Shawn Feldman > wrote: > > > I am indexing with a composite hash of "myshard/3!myid" > > > > If i want to query with the _route_ p

Re: composite hash

2017-06-05 Thread Susheel Kumar
Its should be _route_=myshard/3! On Mon, Jun 5, 2017 at 12:54 PM, Shawn Feldman wrote: > I am indexing with a composite hash of "myshard/3!myid" > > If i want to query with the _route_ param, what does my route look like > > _route_=myshard/3! > or > _route_=myshard! > ? > > shawn >