-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
更新索引无效 #5564
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
文件删除后,索引不更新,这应该是一个bug |
这个自动更新索引是指的 文件有新增进行数据索引,但是数据已经写到数据库了,应该没考虑删除自动删除无效索引,那得实时监测列表变化吧,毕竟只是一个列表程序,不是专业的网盘程序,不好搞。我也只是一个用户,当时添加索引时候已经很难搞了 理解开发者。 例如我原本添加了 /a/b.txt 文件,我在网盘中把它删除了,再加上AList有列表缓存不是实时刷新的,就算刷新了也无法感知,只能重新索引全部的才能知道哪里少了,这样索引全部的和手动全部索引没区别了 以上是我个人使用的理解,所以这个不好处理。 |
@anwen-anyi 这个应该不难,我只需要修改后更新即可不需要实时监测列表变化,因为我的所有操作都是在alist中完成的,只需要修改命名,删除文件修改索引即可,索引做到了文件上传添加到了索引,但删除文件后还在,这个应该就属于漏洞了。而且它这个索引感觉就有问题,更新填了路径值/a索引点了,索引直接失效了,只能重构索引。 |
🐱 需求一句话 技术敲烂手) 是bug没错,但是应该不好搞。 |
确实,调API删文件的时候,后端就可以操作索引了 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again. |
Please make sure of the following things
I have read the documentation.
我已经阅读了文档。
I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。
I'm sure it's due to
AList
and not something else(such as Network ,Dependencies
orOperational
).我确定是
AList
的问题,而不是其他原因(例如网络,依赖
或操作
)。I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.28.0
Driver used / 使用的存储驱动
onedriver
Describe the bug / 问题描述
启用了自动更新索引,删除文件后文件依然在索引中,没有生效,点入链接显示 object not found
Reproduction / 复现链接
url: https://file.richsnow.top/
user: test
password: test123456
权限:删除 上传
Config / 配置
Logs / 日志
The text was updated successfully, but these errors were encountered: