Elasticsearch: [feature request]smart routing detection when search

Created on 18 Mar 2016  ·  3Comments  ·  Source: elastic/elasticsearch

Describe the feature:
if mapping of a index has routing field:
"_routing": {
"path": "XXX",
"required": true
},

when search without explicit set rouing field but has term XXX, ES better detect it and add routing parameters

Most helpful comment

No

All 3 comments

path is no longer supported in _routing, and search by default goes to all shards so routing isn't required. If you want to limit search to specific shards then you need to specify the routing yourself

you don't get my point at all, do u?

No

Was this page helpful?
0 / 5 - 0 ratings