Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Omnisearch does not support searching for Traditional Chinese characters #432

Closed
yakiniku35 opened this issue Jan 19, 2025 · 2 comments

Comments

@yakiniku35
Copy link

Problem description:

Omnisearch does not seem to support searching for Traditional Chinese characters. When I try to search for keywords in Traditional Chinese, no results are returned. This issue occurs consistently across my vault, which contains notes with Traditional Chinese text.

Steps to reproduce:

  1. Create a note with Traditional Chinese text (e.g., "這是繁體中文測試").
  2. Use Omnisearch to search for a keyword in the text (e.g., "繁體").
  3. Observe that no results are found.

Expected behavior:
Omnisearch should be able to search and return results for Traditional Chinese characters, similar to how it works with English or Simplified Chinese.

Additional information:

  • The issue does not occur with English or Simplified Chinese text.
  • I have tested this on both my iPad and Mac with the same result.
  • Obsidian's built-in search (Ctrl/Cmd + Shift + F) works correctly with Traditional Chinese.

My environment:

  • Omnisearch version: v1.6.0
  • Obsidian version: v1.1.16
  • Operating system: macOS Monterey (12.0.1) and iPadOS 16
  • Number of indexed documents in your vault (approx.): ~500

Things to try:

  • Does the problem occur when Omnisearch is the only active community plugin: Yes
  • Does the problem occur when you don't index PDFs, images, or other non-notes files: Yes
  • Does the problem occur after a cache reset: Yes

Additional notes:

  • I have checked the Omnisearch settings and confirmed that no filters or exclusions are applied.
  • I have also tested with a new, empty vault containing only a few notes in Traditional Chinese, and the issue persists.
@yakiniku35 yakiniku35 changed the title [BUG] [BUG]Omnisearch does not support searching for Traditional Chinese characters Jan 19, 2025
@scambier
Copy link
Owner

Omnisearch supports Chinese word-splitting through this additional plugin. Once installed, you may need to clear search cache data to apply new Chinese index

@yakiniku35
Copy link
Author

thank you so much!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants