Skip to content

Search ignore is not working in some cases #12662

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

Closed
TCOTC opened this issue Sep 30, 2024 · 2 comments
Closed

Search ignore is not working in some cases #12662

TCOTC opened this issue Sep 30, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Sep 30, 2024

改进全局搜索结果数提示

在 data/.siyuan/searchignore 文件里添加一行 box != '20240921172429-w3h7c0h'(笔记本id)忽略搜索索引之后,重建索引,再搜索,发现还是能看到有多少个块。

忽略搜索索引之后不应该计入匹配块数:

image

@TCOTC TCOTC changed the title 改进忽略搜索索引 改进全局搜索结果数提示 Sep 30, 2024
@88250 88250 self-assigned this Oct 1, 2024
88250 added a commit that referenced this issue Oct 1, 2024

Verified

This commit was signed with the committer’s verified signature.
@88250

This comment was marked as outdated.

@88250 88250 closed this as completed Oct 1, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Oct 1, 2024

还有“最近更新的块”要排除掉忽略搜索索引的块:

image

@88250 88250 added this to the 3.1.9 milestone Oct 2, 2024
@88250 88250 changed the title 改进全局搜索结果数提示 🐛 Search ignore is not working in some cases Oct 2, 2024
@88250 88250 added Bug and removed Enhancement labels Oct 2, 2024
@88250 88250 changed the title 🐛 Search ignore is not working in some cases Search ignore is not working in some cases Oct 4, 2024
TCOTC added a commit to TCOTC/siyuan that referenced this issue Oct 4, 2024
* 📝 Improve user guide ignore search chapter fix siyuan-note#12032 (siyuan-note#12663)

* 🎨 Improve search ignore result count siyuan-note#12662

* ⬆️ Upgrade lute siyuan-note#12033

* 🎨 Improve performance of exporting .sy.zip for notebook siyuan-note#12653

* 🎨 Improve database primary key content update for bound container blocks siyuan-note#12664

* 🐛 Search ignore is not working in some cases

* 🎨 Improve HTML code block clipping for https://ld246.com siyuan-note#12678

* 🎨 Automatically refresh reference counts after deleting or rolling back a document siyuan-note#12682

* ⬆️ Upgrade lute siyuan-note#12677

---------

Co-authored-by: Daniel <845765@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants