随笔分类 - ElasticSearch
摘要:在创建索引前可通过模板确定下副本和分片的数量 通过修改模板修改索引的副本和分片数量,副本:replicas,分片:shards curl -XPUT -H'Content-Type: application/json' 'http://127.0.0.1:9200/_template/your_te
阅读全文
摘要:elasticdump类似于mysqldump,提供了ElasticSearch的数据导入导出功能。 官网地址:https://www.npmjs.com/package/elasticdump 用法:elasticdump --input SOURCE --output DESTINATION [
阅读全文