-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add geo_shape mapper supporting doc-values in Spatial Plugin #55037
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
Conversation
|
Pinging @elastic/es-analytics-geo (:Analytics/Geo) |
1238374 to
b79b2f8
Compare
After elastic#53562, the `geo_shape` field mapper is registered within a module. This opens the door for introducing a new `geo_shape` field mapper into the Spatial Plugin that has doc-values support. This is very much an extension of server's GeoShapeFieldMapper, but with the addition of the doc values implementation.
b79b2f8 to
bce21fb
Compare
| || dataType == SCALED_FLOAT // because of scaling_factor | ||
| || dataType == CONSTANT_KEYWORD | ||
| || dataType == GEO_POINT | ||
| || dataType == GEO_SHAPE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elastic/es-ql does anyone know why the geo_shape field was here as isFromDocValuesOnly when the field did not have doc values?
|
run elasticsearch-ci/packaging-sample-unix-docker |
|
run elasticsearch-ci/2 |
...main/java/org/elasticsearch/xpack/spatial/index/mapper/GeoShapeWithDocValuesFieldMapper.java
Outdated
Show resolved
Hide resolved
iverase
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I think we need to reorder the class under mapper package but we can do that in a follow up PR.
|
Pinging @elastic/es-ui (:ES-UI) |
…#55500) After #53562, the `geo_shape` field mapper is registered within a module. This opens the door for introducing a new `geo_shape` field mapper into the Spatial Plugin that has doc-values support. This is very much an extension of server's GeoShapeFieldMapper, but with the addition of the doc values implementation.
After backporting the geo_shape with doc-values field to 7.x(7.8), this the version boundary for this feature can now be pulled from 8.0 to 7.8. relates elastic#55037.
After backporting the geo_shape with doc-values field to 7.x(7.8), this the version boundary for this feature can now be pulled from 8.0 to 7.8. relates #55037.
After #53562, the
geo_shapefield mapper is registered withina module. This opens the door for introducing a new
geo_shapefield mapper into the Spatial Plugin that has doc-values support.
This is very much an extension of server's GeoShapeFieldMapper,
but with the addition of the doc values implementation.
this adds a
doc_valuesparam to thegeo_shapemapping that defaults to true