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

how to set close auto create mapping when index data? #42701

Closed
jaccborn opened this issue May 30, 2019 · 2 comments
Closed

how to set close auto create mapping when index data? #42701

jaccborn opened this issue May 30, 2019 · 2 comments

Comments

@jaccborn
Copy link

Elasticsearch version (bin/elasticsearch --version): 7.1

Plugins installed: [x-pack]

JVM version (java -version): 1.8.0_212

OS version (uname -a if on a Unix-like system): Linux VM-0-41-ubuntu 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Description of the problem including expected versus actual behavior:

Steps to reproduce:

  1. i want update es from 5.3.2 to 7.1, i see the doc, the mapping type is remove,and i discover there is no need to create mapping,the es will auto create mapping, but it's not i want, for example,the location actully i need geo_point type, but auto create mapping is float.

image

in the es 5.3.2 the mapping like
image

2.in the past,first i create the mapping, and create the index data,so i try to custom create mapping,and it successful, but when i create the index data,it's something wrong.
image

i have try the dynamic parameter.but it not go into effect.that look like when create index data, it will be auto create a template mapping.
image

what's more,i can't use mapping api to modify it.

how can i set the mapping autocreate close. i can't find it in doc.

@jkakavas
Copy link
Member

Thanks very much for your interest in Elasticsearch.

This appears to be a user question, and we'd like to direct these kinds
of things to the forums. If you can stop
by there, we'd appreciate it. This allows us to use GitHub for verified
bug reports, feature requests, and pull requests.

There's an active community in the forums
that should be able to help get an answer to your question. As such, I
hope you don't mind that I close this.

@jaccborn
Copy link
Author

Thanks very much for your interest in Elasticsearch.

This appears to be a user question, and we'd like to direct these kinds
of things to the forums. If you can stop
by there, we'd appreciate it. This allows us to use GitHub for verified
bug reports, feature requests, and pull requests.

There's an active community in the forums
that should be able to help get an answer to your question. As such, I
hope you don't mind that I close this.

Thank you for your reply, thank you for your contribution to open source, I wish you a smooth job, happy every day!

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