Deleted files won't be cleared out of future searches
|Reported by:||ejucovy||Owned by:||ejucovy|
I haven't verified this but I'm pretty sure that, as implemented, the SQLIndexer search backend will never clear the contents of deleted files from its cache. Instead, a deleted file's last contents before deletion will persist in the cache and therefore in the visible search results.
I think it's sufficient to implement this as a side effect of #9790 -- by adding the extra data described there about files added/removed/changed, the reindex_repository method can be responsible for silently clearing out deleted contents as well.
Change History (5)
comment:1 Changed 18 months ago by ejucovy
- Priority changed from low to high
- Status changed from new to assigned