elasticsearch
grep"^[a-z]"elasticsearch.yml
vim/etc/security/limits.conf
*softnofile65536
*hardnofile131072
*softnproc2048
*hardnproc4096
vim/etc/security/limits.d/90-nproc.conf
*softnproc4096
vim/etc/sysctl.conf
vm.max_map_count=655360
sysctl-p
elasticsearch.yml中配置
bootstrap.system_call_filter为false
#开启跨域访问
http.cors.enabled:true
http.cors.allow-origin:"*"
#关闭x-pack认证
xpack.security.enabled:false
bootstrap.memory_lock:false
bootstrap.system_call_filter:false
/etc/init.d/elasticsearch
serviceelasticsearchstart
nohupgruntserver&
elasticsearch-pluginsinstallx-pack
curl-XPUT-uelastic:changeme'http://localhost:9200/_xpack/license'[email protected]
相关推荐
另外一部分,则需要先做聚类、分类处理,将聚合出的分类结果存入ES集群的聚类索引中。数据处理层的聚合结果存入ES中的指定索引,同时将每个聚合主题相关的数据存入每个document下面的某个field下。