ElasticSearch入门知识(集群索引插入信息教程)
上篇索引创建
以ElasticSearch为界面入门(ElasticSearch搭建教程):
索引插入信息:people是已经创建好的索引,man是类型、1是id
创建索引的代码:(在上篇的博客中索引创建中有详细教程创建索引)
{
"settings":{
"number_of_shards":3,
"number_of_replicas":1
},
"mappings"...
原创
2019-11-10 20:57:02 ·
272 阅读 ·
0 评论