增删改查
时间:2018-05-05 21:32:59
收藏:0
阅读:202
库表列 GET方法
http://10.0.0.17:9200/blog/ariticle/2 GET
{
- "_index": "blog",
- "_type": "ariticle",
- "_id": "2",
- "_version": 3,
- "found": true,
}
==========================
http://10.0.0.17:9200/ GET
blog/ariticle/2?_source=title,tags
只获取blog索引(库名) article type(表名) id是2的列的 title和tags字段
{
- "_index": "blog",
- "_type": "ariticle",
- "_id": "2",
- "_version": 3,
- "found": true,
}
原文:https://www.cnblogs.com/gaoyuechen/p/8996201.html
评论(0)