ES IK分词器配置

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

你可能感兴趣的:(ES IK分词器配置)