mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 09:54:06 -04:00
* delete asciidoc files
* add migrated files
* fix errors
* Disable docs tests
* Clarify release notes page titles
* Revert "Clarify release notes page titles"
This reverts commit 8be688648d
.
* Comment out edternal URI images
* Clean up query languages landing pages, link to conceptual docs
* Add .md to url
* Fixes inference processor nesting.
---------
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: Liam Thompson <leemthompo@gmail.com>
Co-authored-by: Martijn Laarman <Mpdreamz@gmail.com>
Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
52 lines
2 KiB
Markdown
52 lines
2 KiB
Markdown
---
|
||
mapped_pages:
|
||
- https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-smartcn.html
|
||
---
|
||
|
||
# Smart Chinese analysis plugin [analysis-smartcn]
|
||
|
||
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.
|
||
|
||
|
||
## Installation [analysis-smartcn-install]
|
||
|
||
::::{warning}
|
||
Version 9.0.0-beta1 of the Elastic Stack has not yet been released. The plugin might not be available.
|
||
::::
|
||
|
||
|
||
This plugin can be installed using the plugin manager:
|
||
|
||
```sh
|
||
sudo bin/elasticsearch-plugin install analysis-smartcn
|
||
```
|
||
|
||
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
|
||
|
||
You can download this plugin for [offline install](/reference/elasticsearch-plugins/plugin-management-custom-url.md) from [https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-smartcn/analysis-smartcn-9.0.0-beta1.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-smartcn/analysis-smartcn-9.0.0-beta1.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-smartcn/analysis-smartcn-9.0.0-beta1.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-smartcn/analysis-smartcn-9.0.0-beta1.zip.asc).
|
||
|
||
|
||
## Removal [analysis-smartcn-remove]
|
||
|
||
The plugin can be removed with the following command:
|
||
|
||
```sh
|
||
sudo bin/elasticsearch-plugin remove analysis-smartcn
|
||
```
|
||
|
||
The node must be stopped before removing the plugin.
|
||
|
||
|
||
## `smartcn` tokenizer and token filter [analysis-smartcn-tokenizer]
|
||
|
||
The plugin provides the `smartcn` analyzer, `smartcn_tokenizer` tokenizer, and `smartcn_stop` token filter which are not configurable.
|
||
|
||
::::{note}
|
||
The `smartcn_word` token filter and `smartcn_sentence` have been deprecated.
|
||
::::
|
||
|
||
|
||
|
||
|