增删改查
库表列 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,
}
时来天地皆同力,运去英雄不自由