About _routing or path being " Deprecated in 1.5.0"


(Gerald DeConto) #1

hi all. in the elasticsearch v1.7 docs, I see "Deprecated in 1.5.0" on the _routing page just below the info for the "path" field.

my question is: does that mean that "path" is deprecated or is "_routing" deprecated.

if path is deprecated but _routing isn't, how do we specify what to route on?

if routing is deprecated, has it been replaced by some other mechanism as this is an important performance feature when you have a large index?

thx


(Mark Walkom) #2

It means the path value for routing is deprecated and you need to specify the routing value in the URL.

See https://github.com/elastic/elasticsearch/issues/6730 for more.


(system) #3