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

Mapping: index.mapping.ignore_malformed global index setting #2220

Closed
rauanmayemir opened this issue Aug 31, 2012 · 6 comments
Closed

Mapping: index.mapping.ignore_malformed global index setting #2220

rauanmayemir opened this issue Aug 31, 2012 · 6 comments

Comments

@rauanmayemir
Copy link

Add index.mapping.ignore_malformed index level setting that will automatically set it to all mappings (unless explicitly set).

Original Request

Discussion is here: https://groups.google.com/forum/?fromgroups=#!topic/elasticsearch/Q4AL6rh0c3c
It would be nice to have a setting for object type fields with dynamic properties to ignore malformed values, i.e store them without raising an exception.

martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Aug 31, 2012
…nded the ignore_malformed support to TTL, Ip and timestamp field types.
martijnvg added a commit that referenced this issue Aug 31, 2012
…e ignore_malformed support to TTL, Ip and timestamp field types.
@kimchy
Copy link
Member

kimchy commented Aug 31, 2012

Pushed @martijnvg changes.

@kimchy kimchy closed this as completed Aug 31, 2012
@rauanmayemir
Copy link
Author

I didn't get it.
Ignore malformed - means it will ignore the values (i.e not store them) or it will store it and ignore that it is malformed?

@kimchy
Copy link
Member

kimchy commented Sep 2, 2012

they will be "stored" as the json is stored. They will not be indexed though so you can't search them.

@rauanmayemir
Copy link
Author

got it. so I can't also facet over them?

@kimchy
Copy link
Member

kimchy commented Sep 2, 2012

only over the ones that ended up being indexed, not the "malformed" values.

@eldilibra
Copy link

@kimchy Has this been brought into the latest stable release? (0.19.11 at time of comment) Also, am I correct in thinking that simply adding index.mapping.ignore_malformed to my elasticsearch.yml will allow me to take advantage of it?

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

No branches or pull requests

3 participants