full text search not work in chinese character in 0.15.3 #8215

Closed
opened 2026-02-21 18:24:32 -05:00 by yindo · 3 comments
Owner

Originally created by @hanqingwu on GitHub (Feb 12, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I have test full text search in 0.15.3 , when I use English character , it works.
but when I use Chinese character , It return none .

✔️ Expected Behavior

full text search works

Actual Behavior

full text search return none

Originally created by @hanqingwu on GitHub (Feb 12, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.15.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I have test full text search in 0.15.3 , when I use English character , it works. but when I use Chinese character , It return none . ### ✔️ Expected Behavior full text search works ### ❌ Actual Behavior full text search return none
yindo added the 🐞 bug label 2026-02-21 18:24:32 -05:00
yindo closed this issue 2026-02-21 18:24:32 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 12, 2025):

I found a similar unsolved discussion regarding issues with RAG full-text search, which might be related to your problem. You can check it out here [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report

@dosubot[bot] commented on GitHub (Feb 12, 2025): <!-- Answer --> I found a similar unsolved discussion regarding issues with RAG full-text search, which might be related to your problem. You can check it out [here](https://github.com/langgenius/dify/discussions/4890) <sup>[[1]](https://github.com/langgenius/dify/discussions/4890)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/e770bd5c-4931-410d-adbd-a4f180387555?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/e770bd5c-4931-410d-adbd-a4f180387555?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/e770bd5c-4931-410d-adbd-a4f180387555?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/e770bd5c-4931-410d-adbd-a4f180387555?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e770bd5c-4931-410d-adbd-a4f180387555?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/e770bd5c-4931-410d-adbd-a4f180387555?feedback_type=other) | [Bug Report](https://app.dosu.dev/response-feedback/e770bd5c-4931-410d-adbd-a4f180387555?feedback_type=bug_report)</sup>
Author
Owner

@hanqingwu commented on GitHub (Feb 13, 2025):

I have notice this suggest,
I have try upgrade weaviate 1.24 , set the environment variable ENABLE_TOKENIZER_GSE to true on the Weaviate instance and
set properties tokenization to gse .
but still not works.

https://weaviate.io/developers/weaviate/config-refs/schema#gse-and-trigram-tokenization-methods
https://weaviate.io/developers/academy/py/tokenization/options#-language-specific-tokenization

@hanqingwu commented on GitHub (Feb 13, 2025): I have notice this suggest, I have try upgrade weaviate 1.24 , set the environment variable ENABLE_TOKENIZER_GSE to true on the Weaviate instance and set properties tokenization to gse . but still not works. https://weaviate.io/developers/weaviate/config-refs/schema#gse-and-trigram-tokenization-methods https://weaviate.io/developers/academy/py/tokenization/options#-language-specific-tokenization
Author
Owner

@hanqingwu commented on GitHub (Feb 13, 2025):

when I upgrade weaviate 1.28 , then it works.

@hanqingwu commented on GitHub (Feb 13, 2025): when I upgrade weaviate 1.28 , then it works.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8215