Truy Vấn Dữ Liệu Trong Elasticsearch Sử Dụng API _search
1. Cơ Bản Về API Search
1.1 Lấy Toàn Bộ Dữ Liệu
GET _search
1.2 Giải Thích Cấu Trúc Phản Hồi
{
"took": 280,
"timed_out": false,
"_shards": {
"total": 3,
"successful": 3,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 5,
"relation": "eq"
},
...
Đăng vào ngày 12 tháng 6 lúc 22:41