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

The root object mapper should support updating numeric_detection, date_detection and dynamic_date_formats. #20119

Merged
merged 1 commit into from
Aug 25, 2016

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Aug 23, 2016

If they are specified by a mapping update, these properties are currently
ignored. This commit also fixes the handling of dynamic_templates so that it
is possible to remove templates (and so that it works more similarly to all
other mapping properties).

Closes #20111

@@ -300,9 +300,6 @@ protected static void parseProperties(ObjectMapper.Builder objBuilder, Map<Strin

}

protected Builder createBuilder(String name) {
Copy link
Member

Choose a reason for hiding this comment

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

thank you! :)

@rjernst
Copy link
Member

rjernst commented Aug 24, 2016

LGTM

…date_detection` and `dynamic_date_formats`. elastic#20119

If they are specified by a mapping update, these properties are currently
ignored. This commit also fixes the handling of `dynamic_templates` so that it
is possible to remove templates (and so that it works more similarly to all
other mapping properties).

Closes elastic#20111
@jpountz jpountz merged commit f93ce94 into elastic:master Aug 25, 2016
@jpountz jpountz deleted the fix/root_mapping_updates branch August 25, 2016 10:41
@jpountz
Copy link
Contributor Author

jpountz commented Aug 25, 2016

Thanks @rjernst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types v5.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

adding date_detection: false to an existing _type returns "acknowledged": true, but does not get added.
3 participants