elasticsearch - ElasticSearch,大小和计数/搜索之间的不一致?
问题描述
我通过 curl POST 在 ES 中创建并索引了一些文档。
当我 GET 'myhost/_cat/indices?v'时,我可以看到我的索引和计数 ~95000 和 store.size ~20mb。
但是当我 GET 'myhost/myindex/_count ' 它返回 0。或者我 GET 'myhost/myindex/_search?q= : '那么它什么也没有。
我使用 SearchGuard,但没有任何错误或权限警告等。
有什么问题?
谢谢。
解决方案
推荐阅读
- sql - 统计sql中的列记录
- flutter - Flutter - Gradle 任务 assembleDebug 失败
- swift - 无法在(UIView)上设置(borderWidth)用户定义的检查属性:...。此类不符合键值编码
- python - 与训练集损失不同,开发集的损失总是在增加
- c++ - 如何防止在省略号中使用对象
- angular - 我们如何在 app.module 和 SSR 渲染中检查 isPlatformBrowser(this.platformId)
- floating-point - 从浮点和中获取小数部分
- math - 如何计算 sympy 向量中的标量积?
- python - 使用 PyOpenGl 的 eglInitialize() 出错(错误 = 12296)
- python - ModuleNotFoundError:没有名为“django”的模块,具有虚拟环境 Python3.8