-
| 
         Hello, I have question about search zh with en. search words: set_keepalive There are to revision docs urls: 
 the different with above two doc sites config is theme language: 0.0.1 is 'zh', latest is 'en'.  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
| 
         Search works for the second link you posted!? I can search in English and Chinese.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Yes, because I set theme lang to 'en' for second link: https://github.com/yasio/docs-936/blob/master/mkdocs.yml#L9 And the first link theme lang is 'zh': https://github.com/yasio/docs-936/blob/0.0.1/mkdocs.yml#L9  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         My mkdocs.yml file already have follow config: plugins:
  - search:
      lang:
        - ja
        - enPlease see: But still doesn't work.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Chinese search support is still experimental, as we're using the Japanese language stemmer for Chinese.  theme:
  language: zh
plugins:
  - search | 
  
Beta Was this translation helpful? Give feedback.
Chinese search support is still experimental, as we're using the Japanese language stemmer for Chinese.
lunr-languagesdoesn't offer a dedicated stemmer for Chinese, but Japanese works reasonably well. The following configuration was reported to work for both Chinese and English: