Redoc: Search is not working for Chinese

Created on 25 Jun 2019  路  2Comments  路  Source: Redocly/redoc

OS: macOS Mojave
Browser: Chome 75.0.3770.100 (Official Build)
Redoc Version: 2.0-rc8 (https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js)

Our apis are written in Chinese, and search for any keyword is just producing empty result.
I tried changing one of our api to English and the search function works. Looks like a bug?

Thanks

Most helpful comment

Browser: Chome 83.0.4103.116 (Official Build)
Redoc Version: 2.0-rc31 (https://cdn.jsdelivr.net/npm/[email protected]/bundles/redoc.standalone.js)

In Russian the search does not work either

It's because lunr doesn't support these languages https://lunrjs.com/guides/language_support.html

All 2 comments

Browser: Chome 83.0.4103.116 (Official Build)
Redoc Version: 2.0-rc31 (https://cdn.jsdelivr.net/npm/[email protected]/bundles/redoc.standalone.js)

In Russian the search does not work either

It's because lunr doesn't support these languages https://lunrjs.com/guides/language_support.html

Browser: Chome 84.0.4147.89 (Official Build) (64 bit)
Redoc Version: 2.0-rc31 (https://cdn.jsdelivr.net/npm/[email protected]/bundles/redoc.standalone.js)
The search does not work in Russian. In English it works. Please help

Was this page helpful?
0 / 5 - 0 ratings