Skip to content

Commit 22b74d7

Browse files
Added note on CJKSearch feature flag
1 parent 4b1f2ca commit 22b74d7

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

source/administration-guide/configure/enabling-chinese-japanese-korean-search.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ Chinese, Japanese and Korean search
66
.. include:: ../../_static/badges/all-commercial.rst
77
:start-after: :nosearch:
88

9-
Enabling search for Chinese, Japanese and Korean (CJK) requires special configuration, since these languages do not contain spaces.
109

11-
See :doc:`database requirements documentation </deployment-guide/software-hardware-requirements>` for how to set up search for these languages.
10+
```{Attention}
11+
Starting on Mattermost v11.6, searching for Chinese, Japanese or Korean (CJK) characters can be enabled with the `feature flag <https://developers.mattermost.com/contribute/more-info/server/feature-flags/#changing-feature-flag-values>` ``MM_FEATUREFLAGS_CJKSEARCH``.
12+
13+
What follows is the special configuration required for versions older than v11, where MySQL was still supported.
14+
```
15+
16+
See :doc:``database requirements documentation </deployment-guide/software-hardware-requirements>` for how to set up search for these languages.
1217

1318
Below is additional information on how to configure the database for different languages.
1419

source/deployment-guide/software-hardware-requirements.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Amazon Aurora equivalents of PostgreSQL is also supported. Our `Migration Guide
9797
.. important::
9898

9999
- MariaDB v10+ no longer functions as a MySQL drop-in replacement, and it's not supported for Mattermost due to the requirement of MySQL 5.7.12. Prior versions of MariaDB were not officially supported but may have functioned in older Mattermost releases. If you are running MariaDB now, migrating from MariaDB to the MySQL equivalent is recommended.
100-
- Deployments requiring searching in Chinese, Japanese, and Korean languages require MySQL 5.7.6+ and the configuration of `ngram Full-Text parser <https://dev.mysql.com/doc/refman/5.7/en/fulltext-search-ngram.html>`__. For searching two characters, you will also need to set ``ft_min_word_len`` and ``innodb_ft_min_token_size`` to ``2`` and restart MySQL. See `CJK discussion <https://github.com/mattermost/mattermost/issues/2033#issuecomment-183872616>`__ for details.
100+
- MySQL deployments requiring searching in Chinese, Japanese, and Korean languages require the configuration of `ngram Full-Text parser <https://dev.mysql.com/doc/refman/5.7/en/fulltext-search-ngram.html>`__. For searching two characters, you will also need to set ``ft_min_word_len`` and ``innodb_ft_min_token_size`` to ``2`` and restart MySQL. See `CJK discussion <https://github.com/mattermost/mattermost/issues/2033#issuecomment-183872616>`__ for details.
101101

102102
Minimum PostgreSQL database support policy
103103
::::::::::::::::::::::::::::::::::::::::::

0 commit comments

Comments
 (0)