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

es 中 [{}] 格式的数据查询 #97

Open
lovelmh13 opened this issue Jul 4, 2021 · 0 comments
Open

es 中 [{}] 格式的数据查询 #97

lovelmh13 opened this issue Jul 4, 2021 · 0 comments

Comments

@lovelmh13
Copy link
Owner

es 文档 中,这个格式叫 「嵌套对象」。由于本身 es 存入后的数据会扁平化的关系,嵌套对象的值查询会出错,所以需要先指定 mapping,type 为 nested

后面的看官方文档,原因以及使用都非常清晰, 2.x 版本的文档依然适用于 7.x

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

1 participant