We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
第一次用,老大让我把csv文件里的数据导入进去,然后通过REST服务或者我自己写个服务来调用查询,一开始很懵逼,毕竟没接触过,不断的去查资料发现可以直接在 kibana 提供的 Console 功能来查询,打开F12可以看到相应的接口调用以及传参,不过传参这里需要踩下坑:
from
size
hits.total.value
"track_total_hits": true
*
最后来个示例:
GET /bmappoi2/_search { "track_total_hits": true, "query": { "bool": { "must": [ { "match": { "area": "邗江区" } }, { "wildcard": { "address": "兰苑*" } } ] } }, from: 0, size: 99999 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
第一次用,老大让我把csv文件里的数据导入进去,然后通过REST服务或者我自己写个服务来调用查询,一开始很懵逼,毕竟没接触过,不断的去查资料发现可以直接在 kibana 提供的 Console 功能来查询,打开F12可以看到相应的接口调用以及传参,不过传参这里需要踩下坑:
from
为 0 以及size
hits.total.value
不正确,查询时加上"track_total_hits": true
即可*
号最后来个示例:
The text was updated successfully, but these errors were encountered: