Wiki.js

Support zhparser for improved Chinese full-text search

Wiki.js 3 uses PostgreSQL full-text search and selects a text search configuration based on each page’s locale. Chinese locales are not included in the default language mappings and fall back to Post…

Wiki.js 3 uses PostgreSQL full-text search and selects a text search configuration based on each page’s locale. Chinese locales are not included in the default language mappings and fall back to PostgreSQL’s simple configuration, which does not provide Chinese word segmentation. This can make it difficult to find relevant pages by individual Chinese terms.

Support using a PostgreSQL text search configuration backed by zhparser for Chinese locales, please.

Wiki.js already supports per-locale text search configuration overrides and rebuilding the search index. It would be helpful to verify that these features work correctly with zhparser and provide guidance on:

This could improve Chinese full-text search without requiring a separate search service.