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
(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.
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.