Skip to content

Conversation

@talevy
Copy link
Contributor

@talevy talevy commented Jul 15, 2019

This commit introduces a skeleton xpack Spatial plugin that will be filled-in
with some new licensed features coming to Geo-Spatial!

This will just be merged into master, until the first feature merged in the spatial plugin
will be merged. Then we can back-port this PR to 7.x prior to merging in any future 7x features

This commit introduces a skeleton Geo plugin that will be filled-in
with some new licensed features coming to Geo!
@talevy talevy added >non-issue :Analytics/Geo Indexing, search aggregations of geo points and shapes v8.0.0 labels Jul 15, 2019
@talevy talevy requested a review from nknize July 15, 2019 22:52
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo

@talevy talevy requested review from imotov and iverase July 15, 2019 22:53
@iverase
Copy link
Contributor

iverase commented Jul 16, 2019

just a generic question: Is this really Geo or should be called Spatial? My point here is that if in this package we will introduce XYShape as well, then Geo is too specific.

@talevy
Copy link
Contributor Author

talevy commented Jul 16, 2019

@iverase that is a good point, I think that may be the better name. I'll check with some others as well

@talevy talevy changed the title Introduce Geo Plugin Introduce Spatial Plugin Jul 16, 2019
@talevy
Copy link
Contributor Author

talevy commented Jul 16, 2019

run elasticsearch-ci/1

@talevy talevy requested a review from alpar-t July 16, 2019 18:47
Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need the "enabled"? We recently added voting-only without it, and I don't htink it is necessary for most things.

@talevy
Copy link
Contributor Author

talevy commented Jul 17, 2019

thanks Ryan, mind taking another look?

@talevy talevy requested a review from rjernst July 17, 2019 19:12
Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@talevy talevy merged commit b5fccd1 into elastic:master Jul 17, 2019
@talevy talevy deleted the geo-plugin branch July 17, 2019 21:18
nknize pushed a commit to nknize/elasticsearch that referenced this pull request Aug 8, 2019
This commit introduces a skeleton Spatial plugin that will be filled-in
with some new licensed features coming to Geo/Spatial land!
@nknize nknize added the v7.4.0 label Aug 14, 2019
nknize added a commit that referenced this pull request Aug 14, 2019
…45363)

* Introduce Spatial Plugin (#44389)

Introduce a skeleton Spatial plugin that holds new licensed features coming to 
Geo/Spatial land!

* [GEO] Refactor DeprecatedParameters in AbstractGeometryFieldMapper (#44923)

Refactor DeprecatedParameters specific to legacy geo_shape out of
AbstractGeometryFieldMapper.TypeParser#parse.

* [SPATIAL] New ShapeFieldMapper for indexing cartesian geometries (#44980)

Add a new ShapeFieldMapper to the xpack spatial module for
indexing arbitrary cartesian geometries using a new field type called shape.
The indexing approach leverages lucene's new XYShape field type which is
backed by BKD in the same manner as LatLonShape but without the WGS84
latitude longitude restrictions. The new field mapper builds on and
extends the refactoring effort in AbstractGeometryFieldMapper and accepts
shapes in either GeoJSON or WKT format (both of which support non geospatial
geometries).

Tests are provided in the ShapeFieldMapperTest class in the same manner
as GeoShapeFieldMapperTests and LegacyGeoShapeFieldMapperTests.
Documentation for how to use the new field type and what parameters are
accepted is included. The QueryBuilder for searching indexed shapes is
provided in a separate commit.

* [SPATIAL] New ShapeQueryBuilder for querying indexed cartesian geometry (#45108)

Add a new ShapeQueryBuilder to the xpack spatial module for
querying arbitrary Cartesian geometries indexed using the new shape field
type.

The query builder extends AbstractGeometryQueryBuilder and leverages the
ShapeQueryProcessor added in the previous field mapper commit.

Tests are provided in ShapeQueryTests in the same manner as
GeoShapeQueryTests and docs are updated to explain how the query works.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Geo Indexing, search aggregations of geo points and shapes >non-issue v7.4.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants