The Smart Chinese Analysis plugin integrates Lucene’s Smart Chinese analysis module into elasticsearch.
It provides an analyzer for Chinese or mixed Chinese-English text. This analyzer uses probabilistic knowledge to find the optimal word segmentation for Simplified Chinese text. The text is first broken into sentences, then each sentence is segmented into words.
This plugin can be installed using the plugin manager:
sudo bin/plugin install analysis-smartcn
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
The plugin can be removed with the following command:
sudo bin/plugin remove analysis-smartcn
The node must be stopped before removing the plugin.
The plugin provides the
smartcn analyzer and
which are not configurable.
smartcn_word token filter and
smartcn_sentence have been deprecated.