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

搜索重复的内容问题 #95

Open
fakerlogic opened this issue Jul 14, 2022 · 4 comments
Open

搜索重复的内容问题 #95

fakerlogic opened this issue Jul 14, 2022 · 4 comments

Comments

@fakerlogic
Copy link

实际的内容是“哈哈”,然后输入“哈哈哈”也能命中,不知道是我使用的问题还是啥原因

"""
SELECT ADDRESSBOOK.*
FROM ADDRESSBOOK
JOIN ADDRESSBOOK_FTS
    ON ADDRESSBOOK_FTS.rowid = ADDRESSBOOK.id
    AND ADDRESSBOOK_FTS MATCH simple_query(?)
"""
@wangfenjin
Copy link
Owner

对,这个就是这样的;具体原因可以看我readme里面写的博客;

可以考虑用jieba_query

@fakerlogic
Copy link
Author

对,这个就是这样的;具体原因可以看我readme里面写的博客;

可以考虑用jieba_query

确实可以,但是问题来了,内存一下增长了100MB,LOL

@wangfenjin
Copy link
Owner

jieba 库可能会占一点内存

@wangfenjin
Copy link
Owner

#96 有一个版本可能能减少内存,但是现在不支持 windows

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