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

postgresql full text search 中文支持 #270

Open
swuecho opened this issue Apr 30, 2023 · 1 comment
Open

postgresql full text search 中文支持 #270

swuecho opened this issue Apr 30, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@swuecho
Copy link
Owner

swuecho commented Apr 30, 2023

默认database 不支持中文,

要在代码中做好分词, 写入pgdb. (因为云数据库支持extension 麻烦)

麻烦. 我基本上用不到.

@swuecho swuecho added enhancement New feature or request help wanted Extra attention is needed labels Apr 30, 2023
@swuecho
Copy link
Owner Author

swuecho commented May 11, 2023

用jieba分词, 然后把分词结果存到 pgvector

title 是可以变的, 所以每次编辑之后要更新pgvector

content 是 snapshot, 不可以编辑, 所有不需要考虑更新的问题.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant