JJK
January 17, 2018, 10:06pm
1
Getting the following warning with 6.1.2:
[WARN ][org.elasticsearch.deprecation.common.ParseField] Deprecated field [_routing] used, expected [routing] instead
But the docs still show that _routing
is correct?
https://www.elastic.co/guide/en/elasticsearch/reference/6.1/mapping-routing-field.html
I'm not sure where this field name needs to be adjusted...
JJK
January 18, 2018, 3:06am
2
A little more info on how this is being sent:
POST _bulk
{ "index" : { "_id" : 23, "_routing" : 4 } }
val
(Val Crettaz)
January 18, 2018, 4:19am
3
The correct link you're looking for is this one: https://www.elastic.co/guide/en/elasticsearch/reference/6.1/docs-bulk.html#bulk-routing
Just use routing
instead of _routing
in your bulk call and you'll be fine
POST _bulk
{ "index" : { "_id" : 23, "routing" : 4 } }
^
|
remove underscore
system
(system)
Closed
February 15, 2018, 4:19am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.