-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include_in_root
with geo_shape
is broken in 7
#70261
Comments
include_in_root
is broken in 7
include_in_root
is broken in 7include_in_root
with geo_shape
is broken in 7
I believe I have further narrowed down the issue to the new way geo_shapes are indexed (https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#changed-default-geo-shape-index-strategy).
|
Pinging @elastic/es-analytics-geo (Team:Analytics) |
The issue is that in the new way geo_shapes are indexed, doc values are generated by default and in the combination above, they are included twice on the root document which leads to the error you are seeing. This is indeed a bug, one way to avoid it, is to explicitly disable doc values:
|
Pinging @elastic/es-search (Team:Search) |
@javanna we think this is a mapping problem. Could you take a look pls? |
Closing as a duplicate of #89164 . The problem still reproduces in more recent versions. |
Elasticsearch version : 7.11.1
OS version: Ubuntu
Looks like
include_in_root
can no longer be used in conjunction withgeo_shape
fields, as removing any of those doesn't produce an error.Reproducing the problem:
Results in:
The equivalent for ES 6.8, which works as expected with no errors:
The text was updated successfully, but these errors were encountered: