Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Elasticsearch Chinese word Separator installation Test

Shulou Source: shulou.com Published: 2022-06-03 02:44:15 10月04日 Update

Introduction: Elasticsearch's own word splitter will divide the Chinese into a byte (as shown below), so the search efficiency is low. We can install a Chinese word splitter on Elasticsearch to improve the search efficiency.

Download the Chinese plug-in installation package (address: https://github.com/medcl/elasticsearch-analysis-ik/releases), select the corresponding version of Elasticsearch and download it locally

Use Xftp 6 to drag the downloaded files to the / plugins directory of the Elasticsearch installation directory

Unzip (unpack the installation package and delete it) unzip elasticsearch-analysis-ik-6.2.2.ziprm-rf elasticsearch-analysis-ik-6.2.2.zip

4. Open Elasticsearch service for word segmentation test

Tags: Chinese efficiency directory search test address byte introduction plug-in file version service selection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Tech Info Docker Linux MySQL