索引我使用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