Redocly / Redocly/redoc

Search is not working for Chinese

Open
#949 2 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
25.9k
Forks
2.4k
Avg merge
13h 10m
Merged PRs (30d)
4

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with Redoc 2.0-rc8 on the reported Chinese API documentation and compare it with an English API where search works. Trace the search behavior from that reproduction; done means Chinese keywords return the relevant API results instead of an empty result.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.