Skip to content

Conversation

@nknize
Copy link
Contributor

@nknize nknize commented May 12, 2017

This PR adds ignore_malformed support to geo_shape field types to skip malformed geoJson fields. Tests are updated.

closes #23747

@nknize nknize added :Analytics/Geo Indexing, search aggregations of geo points and shapes :Search Foundations/Mapping Index mappings, including merging and defining field types review v5.4.1 v5.5.0 v6.0.0 labels May 12, 2017
Copy link

Choose a reason for hiding this comment

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

coerce -> ignore_malformed

Copy link
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.

@nknize I just saw this sitting here for a while, I left a few minor nits. I don't know if you also want someone else to look at it, to me it looks good.

Copy link
Member

Choose a reason for hiding this comment

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

nit: maybe the field name could be a constant under Names, the same as in e.g. GeoPointFieldMapper (or reuse that one)

Copy link
Member

Choose a reason for hiding this comment

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

Maybe also use a constant here

Copy link
Member

Choose a reason for hiding this comment

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

Maybe also check the explicit flag.

@javanna
Copy link
Member

javanna commented Nov 6, 2017

@nknize can you get this in if still relevant please?

This commit adds ignore_malformed support to geo_shape field types to skip malformed geoJson fields.

closes elastic#23747
@nknize nknize merged commit 06ff92d into elastic:master Nov 10, 2017
@jpountz jpountz removed the :Search Foundations/Mapping Index mappings, including merging and defining field types label Jan 29, 2019
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 >enhancement v6.1.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Geo-Shape datatype and ignore_malformed

7 participants