美文网首页工作生活
ES IK分词器配置

ES IK分词器配置

作者: M_ENG | 来源:发表于2019-07-01 10:40 被阅读0次

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分词器配置

    本文链接:https://www.haomeiwen.com/subject/gonwcctx.html