Advanced search does not support custom analyzers for Wiki
Summary
The GitLab documentation states that advanced search supports two custom analyzers for Chinese/Japanese. However, this support has not taken effect on Wiki content.
Steps to reproduce
According to the document to configure custom analyzer, then try to use the advanced search to search for Chinese, it will not be hit in the Wiki.
Relevant source code
-
The custom analyzer only targets the
titleanddescriptionfields, but Wiki needs thecontentfield. custom_language_analyzers.rb#L7
-
When searching for Wiki content, there is no use of the
add_custom_analyzers_fieldsfunction like when searching for Issues.Wiki Issue 

My question
Whether this is a deliberate design or an unintentional move? Are there any potential hidden dangers in supporting custom analyzers for Wiki?
Edited by Zhiyuan Lu


