es配置

来源:互联网 发布:dvd光盘刻录软件 编辑:程序博客网 时间:2024/06/04 17:52
index:
  analysis:
    filter:
      my_synonym:
          type: synonym
          synonyms_path : analysis/synonym.txt
    analyzer:
      ik_syno:
          type: custom
          tokenizer: ik_smart
          filter: [my_synonym]
#end
cluster.name: es-hemoesearch
node.name: "es-12-9800"
transport.tcp.port: 9800
http.port: 9208
network.host: 192.168.1.12
discovery.zen.ping.unicast.hosts: ["192.168.1.10:9800","192.168.1.11:9800","192.168.1.12:9800"]
0 0