Routing and segmentation


(Ephraim Mower) #1

I have a little bit of a grasp on routing, but I do have one specific
question. Can a routing value be used to segment data? For instance, if I
specify in my query a routing value of "Foo", does that guarantee that I
will only get documents that were indexed with a routing value of "Foo", or
does it only guarantee that I hit a specific shard?

Thanks!

-Cork

--


(Ephraim Mower) #2

I guess maybe I didn't look hard enough before I posted:

https://groups.google.com/forum/?fromgroups=#!searchin/elasticsearch/routing/elasticsearch/OHfoLnNBFV4/-NK16j7ar1YJ

I guess I need to filter/query and route...

On Friday, October 5, 2012 12:03:16 PM UTC-4, Ephraim Mower wrote:

I have a little bit of a grasp on routing, but I do have one specific
question. Can a routing value be used to segment data? For instance, if I
specify in my query a routing value of "Foo", does that guarantee that I
will only get documents that were indexed with a routing value of "Foo", or
does it only guarantee that I hit a specific shard?

Thanks!

-Cork

--


(system) #3