希望自动更新索引功能,增加功能,自动更新数据表x_search_nodes的size数值
- Lenguaje dominante
- Go
- Estrellas
- 50.2k
- Forks
- 7.9k
- Merge medio
- 7 d 21 h
- PR fusionados (30 d)
- 6
Descripción
### Please make sure of the following things
- [X] I have read the [documentation](https://alist.nn.ci).
- [X] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure this feature is not implemented.
- [X] 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 / 附件

Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.