Elasticsearch之核心元数据:_index,_type,_id [学习笔记]
生活随笔
收集整理的這篇文章主要介紹了
Elasticsearch之核心元数据:_index,_type,_id [学习笔记]
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、通過Kibana添加一條數據:
PUT /test_index/test_type/1 {"test_content":"test test" }執行后的效果如下:
獲取數據:
PUT /test_index/test_type/1 {"test_content":"test test" }顯示效果:
結果內容是:
{"_index": "test_index","_type": "test_type","_id": "1","_version": 1,"found": true,"_source": {"test_content": "test test"} }總結
以上是生活随笔為你收集整理的Elasticsearch之核心元数据:_index,_type,_id [学习笔记]的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 微信里的零钱通靠谱吗
- 下一篇: 在 MySQL 中使用 explain