-
Notifications
You must be signed in to change notification settings - Fork 15
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
refactor: using indexes to optimize queries #69
Conversation
7ac7b70
to
9712978
Compare
b58a08f
to
90988af
Compare
bd0faad
to
3ff8a22
Compare
3ff8a22
to
72093e4
Compare
未对 keyword 建索引的情况下,左上角的搜索框就没有什么太大的意义了,个人建议暂时隐藏掉,后续有更好的解决方案之后再继续实现瞬间的 全文搜索。 |
当前这个 PR 可以先不管这个搜索框 你可以重新提一个 pr 用来修改布局 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LIlGG, ruibaby The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does?
使用索引来优化瞬间查询
how to test it?
基于 Halo 2.12.0
可以使用以下 jar 包测试(keyword 查询目前没有对内容建索引,暂时只可以根据 owner 用户名查询):
plugin-moments-1.0.1-SNAPSHOT.jar.zip
可以使用 postgre 数据库用以下脚本插入数据测试:
点击展开查看 SQL