Skip to content

Remove types from GeoShapeQueryBuilder#47792

Merged
romseygeek merged 6 commits intoelastic:masterfrom
romseygeek:types-removal/abstract-geo-querybuilder
Oct 23, 2019
Merged

Remove types from GeoShapeQueryBuilder#47792
romseygeek merged 6 commits intoelastic:masterfrom
romseygeek:types-removal/abstract-geo-querybuilder

Conversation

@romseygeek
Copy link
Copy Markdown
Contributor

This commit removes the unused 'shapeType' information from AbstractGeoQueryBuilder
and its implementations.

Related to #41059

@romseygeek romseygeek added :Analytics/Geo Indexing, search aggregations of geo points and shapes >refactoring v8.0.0 labels Oct 9, 2019
@romseygeek romseygeek requested review from jpountz and nknize October 9, 2019 13:10
@romseygeek romseygeek self-assigned this Oct 9, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-analytics-geo (:Analytics/Geo)

@jpountz jpountz mentioned this pull request Oct 9, 2019
66 tasks
@romseygeek romseygeek requested a review from iverase October 11, 2019 15:36
@romseygeek
Copy link
Copy Markdown
Contributor Author

@elasticmachine update branch

@cbuescher cbuescher self-assigned this Oct 21, 2019
@romseygeek
Copy link
Copy Markdown
Contributor Author

@elasticmachine run elasticsearch-ci/packaging-sample-matrix

Copy link
Copy Markdown
Member

@cbuescher cbuescher left a comment

Choose a reason for hiding this comment

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

LGTM, left a comment regarding leaving/modifying javadoc. Change and leave or ignore, I'm fine either way.

* @param indexedShapeType
* Index type of the indexed Shapes
* @deprecated use {@link #GeoShapeQueryBuilder(String, String)} instead
*/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe keep and adapt the docs? Or do you think its not useful or self-explanatory?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I added this back in, had removed it by mistake. Thanks!

@romseygeek romseygeek merged commit 0ed05a9 into elastic:master Oct 23, 2019
@pgomulka pgomulka mentioned this pull request Mar 25, 2020
66 tasks
pgomulka added a commit that referenced this pull request Jun 30, 2021
Allowing to specify type in geo_shape query. previously removed by #47792
types removal compatible meta #54160
main meta issue #51816
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 >refactoring v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants