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

Include missing properties on mapping field types #6067

Closed
fredeil opened this issue Dec 6, 2021 · 2 comments
Closed

Include missing properties on mapping field types #6067

fredeil opened this issue Dec 6, 2021 · 2 comments

Comments

@fredeil
Copy link

fredeil commented Dec 6, 2021

Hey again @stevejgordon and rest of the maintainers,

I'm missing the ignore_malformed property on the IP field type in C#. I'm sure there are more types missing other properties too.

To be more specific I'm trying to set this using the IP Attribute mapping https://github.com/elastic/elasticsearch-net/blob/master/src/Nest/Mapping/Types/Specialized/Ip/IpAttribute.cs.

Today we have to maintain a JSON version of the mapping and a C# version of the index mapping because of these limitations.

@fredeil fredeil added the Feature label Dec 6, 2021
@stevejgordon
Copy link
Contributor

Apologies for the delay @fredeil. I'll take a look at this as it's likely an oversight. It's one of the reasons for moving to code-generating these properties from a schema for v8.

@stevejgordon
Copy link
Contributor

@fredeil I have added a fix for this which we'll include in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants