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

> 只匹配关键词,不分词。 #4590

Open
ValarDohaerisX opened this issue Apr 20, 2024 · 3 comments
Open

> 只匹配关键词,不分词。 #4590

ValarDohaerisX opened this issue Apr 20, 2024 · 3 comments
Labels
needs more info This issue needs a minimal complete and verifiable example

Comments

@ValarDohaerisX
Copy link

          > 只匹配关键词,不分词。

如何配置这个?

for example search "酒吧"

http://127.0.0.1:7700/indexes/books/search?q=%E9%85%92%E5%90%A7&attributesToHighlight=chapter

结果

<em>酒吧</em>Review Dazzle Bar, <em>酒吧内</em>/At Bar

\<em\>酒吧内\</em\>/At Bar这不是我需要的

@jet10000 你好啊,我现在也遇到这个问题了,我想根据搜索内容模糊搜索,但是会分词,把不相关的结果也会带出来,请问你是怎么解决的?

Originally posted by @ValarDohaerisX in #790 (comment)

@curquiza
Copy link
Member

Hello @ValarDohaerisX

We don't speak Chinese, can you describe your issue in English please?
You linked an issue, but since you created a new one, can you detail exactly

  • the steps you did
  • what you got
  • what you expected to get

Thank you

@curquiza curquiza added the needs more info This issue needs a minimal complete and verifiable example label Apr 29, 2024
@ValarDohaerisX
Copy link
Author

你好@ValarDohaerisX

我们不会说中文,您能用英语描述您的问题吗? 您链接了一个问题,但由于您创建了一个新问题,您能否准确地详细说明

  • 你所做的步骤
  • 你有什么
  • 你期望得到什么

谢谢
Sorry, this is my first time asking a question. Please forgive my lack of professionalism.

Last answer:
Hello, I am also encountering this problem now. I want to blur the search based on the search content, but I can segment words and bring out irrelevant results. How did you solve this problem?

Hello, I hope Meilisearch can only be used for fuzzy search without the need for word segmentation. May I know how to configure it to be implemented? I am using Java as my language and I have tried many methods, but none of them have worked.

@curquiza
Copy link
Member

curquiza commented May 6, 2024

Hello @ValarDohaerisX

I want to blur the search based on the search content, but I can segment words and bring out irrelevant results. How did you solve this problem?

What do you mean exactly?
What do you send to Meilisearch? What do you get? What do you expect to get?

Also, which version of Meilisearch do you use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info This issue needs a minimal complete and verifiable example
Projects
None yet
Development

No branches or pull requests

2 participants