Elasticsearch supports Chinese word segmentation

1. First download
https://github.com/medcl/elasticsearch-analysis-ik from github
and upload to the server after the download is complete

Unzip to this directory

Start the es server from the new to support Chinese word segmentation

Supports two modes of Analyzer: ik_smart, ik_max_word

ik_max_word analysis is more comprehensive and accurate

ik_smart analysis is relatively simple to split words

Guess you like

Origin www.cnblogs.com/loujiang/p/12690640.html