工作生活

ES IK分词器配置

2019-07-01  本文已影响0人  M_ENG

elasticsearch.yml

cluster.name: elasticsearch
network.publish_host: 39.108.129.68
network.host: 0.0.0.0
transport.tcp.port: 19888
transport.tcp.compress: true
script.groovy.sandbox.enabled: true
index:
  analysis:
    analyzer:
      ik:

          type: org.elasticsearch.index.analysis.IkAnalyzerProvider
      ik_max_word:
          type: ik
          use_smart: false
      ik_smart:
          type: ik
          use_smart: true
上一篇下一篇

猜你喜欢

热点阅读