Skip to content

Remove ParsedPoint interface from point field mappers (#73710) #73778

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

Merged
merged 2 commits into from
Jun 7, 2021

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Jun 4, 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.

backport #73710

@iverase iverase merged commit a27fe61 into elastic:7.x Jun 7, 2021
@iverase iverase deleted the backport73710 branch June 7, 2021 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant