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

希望自动更新索引功能,增加功能,自动更新数据表x_search_nodes的size数值 #7715

Open
4 tasks done
suixing8 opened this issue Dec 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@suixing8
Copy link

suixing8 commented Dec 26, 2024

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

使用的环境是,就像我的索引数据库,是通过这个项目https://github.com/suixing8/115-strm
的脚本插入到数据库的,导致size都是0,希望在自动更新索引能更新x_search_nodes的size数值,打开过一次文件后,后面搜索就能看到文件大小了

Suggested solution / 实现思路

如果自动更新索引,新增索引数据,采取的是判断x_search_nodes表中是已存在parent和name和is_dir相同的值,再决定是否增加到数据库,那么如果存在的情况下,新增更新size值的功能,如果不存在还是正常整条信息插入

Additional context / 附件

image

@suixing8 suixing8 added the enhancement New feature or request label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant