要不要也来分享分享一下啊

elasticsearch pinyin分词器如何处理多音字问题???

zhouzhou 回复了问题 • 3 人关注 • 2 个回复 • 5940 次浏览 • 2019-11-06 09:51 • 来自相关话题

ElasticSearch 2.x java client 如何从SearchResponse中获取_routing

回复

lilin 发起了问题 • 1 人关注 • 0 个回复 • 7513 次浏览 • 2016-05-27 20:01 • 来自相关话题

HDFS 文件如何传输到elasticsearch集群?

medcl 回复了问题 • 5 人关注 • 4 个回复 • 4770 次浏览 • 2016-09-01 11:41 • 来自相关话题

es中must与should之间的逻辑

qq123 回复了问题 • 3 人关注 • 2 个回复 • 23421 次浏览 • 2016-06-08 14:56 • 来自相关话题

ElasticSearch 如何increment值?

allen 回复了问题 • 2 人关注 • 1 个回复 • 4987 次浏览 • 2016-05-28 13:42 • 来自相关话题

已知独立访问表,pv表,转换表。(关联和文档嵌套的问题)

joeywen 回复了问题 • 3 人关注 • 2 个回复 • 4639 次浏览 • 2016-07-05 16:44 • 来自相关话题

文档字段为时间类型格式如何自定义?例如2016-05-24 18:03:01

回复

pandani 回复了问题 • 0 人关注 • 1 个回复 • 5978 次浏览 • 2016-05-25 11:39 • 来自相关话题

自定义Script plugin中如何获取hasChildQuery的子类型的字段值

回复

chengmo2008 发起了问题 • 1 人关注 • 0 个回复 • 4056 次浏览 • 2016-05-24 19:23 • 来自相关话题

关于es不停机切换索引

medcl 回复了问题 • 4 人关注 • 1 个回复 • 6349 次浏览 • 2016-05-24 15:06 • 来自相关话题

ElasticSearch是2.3的。API 里面有一个should关键字,这个关键字是干嘛的?

qq123 回复了问题 • 2 人关注 • 1 个回复 • 5009 次浏览 • 2016-05-26 10:07 • 来自相关话题

发布个es迁移工具:elasticsearch-migration

medcl 发表了文章 • 135 个评论 • 31827 次浏览 • 2016-05-23 17:09 • 来自相关话题

https://github.com/medcl/elasticsearch-migration
支持多个版本间的数据迁移,使用scroll+bulk
1.版本支持1.x,2.x.5.0 (0.x未测试)
2.支持http basic auth 认证的es集群
3.支持导入覆盖索引名称(目前只支持单个索引导入的情况下可指定)
4.支持index setting和mapping的同步(相关es大版本,2.x和5.0之间不支持)
5.支持dump到本地文件
6.支持从dump文件加载导入到指定索引
 
欢迎测试!
 
#copy index index_name from 192.168.1.x to 192.168.1.y:9200
./bin/esm -s http://192.168.1.x:9200 -d http://192.168.1.y:9200 -x index_name -w=5 -b=10 -c 10000

#copy index src_index from 192.168.1.x to 192.168.1.y:9200 and save with dest_index
./bin/esm -s http://localhost:9200 -d http://localhost:9200 -x src_index -y dest_index -w=5 -b=100

#support Basic-Auth
./bin/esm -s http://localhost:9200/ -x "src_index" -y "dest_index" -d http://localhost:9201 -n admin:111111

#copy settings and override shard size
./bin/esm -s http://localhost:9200/ -x "src_index" -y "dest_index" -d http://localhost:9201 -m admin:111111 -c 10000 --shards=50 --copy_settings

#copy settings and mapping, recreate target index, add query to source fetch, refresh after migration
./bin/esm -s http://localhost:9200/ -x "src_index" -q=query:phone -y "dest_index" -d http://localhost:9201 -c 10000 --shards=5 --copy_settings --copy_mapping --force --refresh

#dump elasticsearch documents into local file
./bin/esm -s http://localhost:9200 -x "src_index" -m admin:111111 -c 5000 -b -q=query:mixer --refresh -o=dump.bin

#loading data from dump files, bulk insert to another es instance
./bin/esm -d http://localhost:9200 -y "dest_index" -n admin:111111 -c 5000 -b 5 --refresh -i=dump.bin

 

ES错误 java.lang.OutOfMemoryError: unable to create new native thread

aslan1011 回复了问题 • 3 人关注 • 2 个回复 • 5647 次浏览 • 2019-11-18 19:11 • 来自相关话题

请问 es 如何在分词时加入 符号等特殊字符为搜索条件

回复

ting314193222 回复了问题 • 2 人关注 • 2 个回复 • 16215 次浏览 • 2016-05-24 14:34 • 来自相关话题

线上大数据实时系统,如何正确重启Es

disheng 回复了问题 • 13 人关注 • 8 个回复 • 8311 次浏览 • 2016-11-22 22:01 • 来自相关话题

fielddata加载是全加载么

medcl 回复了问题 • 3 人关注 • 1 个回复 • 4469 次浏览 • 2016-05-24 15:12 • 来自相关话题