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

Using Chinese query plus summarize syntax, the characters are garbled:� #3824

Open
yangliu0109 opened this issue Apr 23, 2024 · 0 comments

Comments

@yangliu0109
Copy link

yangliu0109 commented Apr 23, 2024

Expected behavior

i want to Display Chinese search results normally...

search: 测试
retrun: 测试数据...测试标题...

Actual behavior

search: 测试
retrun: 测试�...测试�...

Steps to reproduce:

  1. install redisearchdocker pull redislabs/redisearch:2.8.8
  2. java code
        Query query = Query("测试");
        query.summarizeFields(15, 2, "...","F_Title", "F_Content");
        query.setLanguage("chinese");
        SearchResult searchResult = jedisCluster.ftSearch("ai_text", query);
        List<Document> docs = searchResult.getDocuments()

Redis / Jedis Configuration

Jedis version: 5.1.2

Redis version: 7.2.0

Java version: 1.8

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

1 participant