索引我使用Elasticsearch索引和搜索我的分贝...验证数据库由Elasticsearch
- 我如何验证数据库索引?
如果我使用下面的命令:
卷曲-XGET 'http://localhost:9200/_search?q=whatever'
结果是:
{
"took": 4,
"timed_out": false,
"_shards": {
"total": 6,
"successful": 6,
"failed": 0
},
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
}
应当如何进行这些结果作何解释?
你查询了这个词,并没有找到任何东西。删除查询并查看返回的总点击数,以查看索引中总共有多少个文档可用。 – javanna