es配置文件:
三个节点:
elasticsearch.yml
cluster.name: ES #集群name要求一致node.name: jcyl1 #节点名不能一样network.host: 0.0.0.0http.port: 9200transport.tcp.port: 9300http.cors.enabled: truehttp.cors.allow-origin: "*"node.master: truenode.data: truediscovery.zen.ping.unicast.hosts: ["192.168.0.36:9300","192.168.0.116:9300","192.168.0.52:9300"]discovery.zen.minimum_master_nodes: 3gateway.recover_after_nodes: 2cluster.initial_master_nodes: jcyl1
ik分词器配置文件
IKAnalyzer.cfg.xml
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"><properties><comment>IK Analyzer 扩展配置</comment><!--用户可以在这里配置自己的扩展字典 --><entry key="ext_dict"></entry><!--用户可以在这里配置自己的扩展停止词字典--><entry key="ext_stopwords"></entry><!--用户可以在这里配置远程扩展字典 --><entry key="remote_ext_dict">https://tje.e-mall365.com/noparticiples.dic</entry><!--用户可以在这里配置远程扩展停止词字典--><entry key="remote_ext_stopwords">https://tje.e-mall365.com/participles.dic</entry></properties>
