Summary: | KRunner searches for words inside files, but does not find the file that matches the words provided | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Akarsh Simha <akarsh.simha> |
Component: | filesearch | Assignee: | Stefan Brüns <stefan.bruens> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bruno.leon, enno.nagel, hughgao01, kde, natalie_clarius, nortexoid, stefan.bruens |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Akarsh Simha
2015-11-23 01:01:00 UTC
It would be useful if the current "document" runner had an option to search for filenames and perhaps filenames only. If searching both contents and filenames it could prioritize filenames over contents, or provide an option for setting priority. Otherwise, a separate krunner to search for filenames would be very useful, but I think it doesn't make sense to have a separate runner for that when the functionality should be put in the current "document" runner. I guess this is a wish rather than bug, but given that the functionality existed KDE4, it looks like a regression. PS. the title of this report does not exactly make it easy to find! Search by content annoying in a lot times, because the result list is so long that it's difficult to find what wanted. *** This bug has been confirmed by popular vote. *** Option 1: In KRunner, use "filename:foo" Option 2: In Dolphin -> "Find ...", select "Filename" Since searching for a file by its name is a common use case, could the keyword 'filename:' be shortened? Say, to 'f:'? Or "file:foo" As far as I can tell Baloo does not provide an option to limit a query nor information in the return results whether the match occurs in the file name or file contents, so such an option would have to be added to Baloo before KRunner could make use of it. Even better would be if filtering out content matches altogether weren't necessary because this relevance would be adequately reflected in the sorting, which Baloo currently does not seem to do. |