Skip to content
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

Remove ParsedPoint interface from point field mappers #73710

Merged
merged 3 commits into from
Jun 4, 2021

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Jun 3, 2021

This interface has been added to be able to share the same Parser implementation between different field mappers. This makes the generic from the parser be different to the generic of the class which breaks the symmetry with the geo_shape implementation and makes it harder to work with.

This change moves the abstraction to the parser in order to simplify the classes and makes it more in-line with shape implementations.

@iverase iverase added :Analytics/Geo Indexing, search aggregations of geo points and shapes >refactoring v8.0.0 v7.14.0 labels Jun 3, 2021
@iverase iverase requested a review from imotov June 3, 2021 07:36
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jun 3, 2021
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@imotov imotov left a comment

Choose a reason for hiding this comment

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

LGTM

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 Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v7.14.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants