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
ElasticSearch json data keyword save error #63531
Comments
@pkwenda , I think it's a problem of the index's mapping, can you show the mapping of the index by |
ok:it looks like :
i dont know why type is Long , maybe because :sometimes data value is json.sometimes data value is number ? |
I thought that Nested types were more flexible,now , It seems to be careful when using it, thanks @gaobinlong |
Closing since this seems to be solved. |
Elasticsearch version (
bin/elasticsearch --version
):7.4.2
Plugins installed: []
JVM version (
java -version
):jdk11 (from docker pull ,is ok)
OS version (
uname -a
if on a Unix-like system):Description of the problem including expected versus actual behavior:
Steps to reproduce:
Please include a minimal but complete recreation of the problem,
including (e.g.) index creation, mappings, settings, query etc. The easier
you make for us to reproduce it, the more likely that somebody will take the
time to look at it.
Provide logs (if relevant):
but , my josn data is verify JSON , what's hapend ?
====================
interesting,I replace [json] key to [data] key, like this ,sucess:
IT's created , why ? [data] keyword is reserved word ?
but i cant find :https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-syntax-reserved.html
The text was updated successfully, but these errors were encountered: