Bug 446301 - Ability to delete just content index data but preserve filename index data
Summary: Ability to delete just content index data but preserve filename index data
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_baloo (show other bugs)
Version: 5.23.3
Platform: Other Linux
: LO wishlist
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-30 22:12 UTC by saif1988
Modified: 2021-12-02 07:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description saif1988 2021-11-30 22:12:55 UTC
SUMMARY
By default, Baloo (File Search) in Plasma does index file contents. If user disables it, even after a restart, search will bring content based results.


STEPS TO REPRODUCE
1. Make sure to have file contents which the baloo indexes
2. Search for it and make sure results bring it (for example in the launcher)
3. Go to "File Search" > disable "Also index file content"

OBSERVED RESULT
Nothing will basically happen. Search will still bring that result of step 2. Rebooting the system also does nothing.
Only way of getting it work is manually purging the index with balooctl

EXPECTED RESULT
Disabling index file content should actually clear the existing indexation

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.5-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31,2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Comment 1 tagwerk19 2021-11-30 23:51:42 UTC
(In reply to saif1988 from comment #0)
> ... Search will still bring that result of step 2 ...
Yes. I think you'd need to disable File Search entirely, in which case you are prompted to deleted the indexed data, and then reenable it without content indexing.
Comment 2 tagwerk19 2021-12-02 07:21:15 UTC
Alternatively keep the full index, as the work is done.

However Dolphin and Krunner should limit themselves to a "filename:" search if there's a
    only basic indexing=true
in .config/baloofilerc

If people want to reclaim the disc space, they have the option to delete the index in System Settings when they disable indexing.