https://bugs.kde.org/show_bug.cgi?id=462787

--- Comment #4 from Andrea Panontin <apanon...@tutanota.com> ---
I have the search plugin enabled for KRunner (the one for files). Indeed I most
often get results, I chose a poor example for the screenshot, I am sorry.
The file I am looking for is in the indexed folder, indeed with different
queries I can find it.

I have tried some extra queries for this particular file, so here the specific
setup:
I am looking for the following file (which again, is indexed):
/home/andrea/Documents/Universität/Coursework/PhD/Basis/Commutative
Algebra/Eisenbud, David - Commutative Algebra with a View Toward Algebraic
Geometry.pdf

Now, if I run
baloosearch Eisenbud, David - Commutative Algebra
or
baloosearch "Eisenbud, David - Commutative Algebra"

I get no results

If, instead, I look for (again using the command baloosearch) any of the
strings "Eisenbud", "Eisenbud, David", "Eisenbud Commutative" or any other
subset of words of the title (with no punctuation), I find it.

Now my remarks specialize:
1. It appears that as soon as I type "-" in my search query I get no results by
baloo, I guess it's a bug in Baloo proper, more than in the plugins (even
though if I make the same search from dolphin I find the desired file).
2. In all of the previous examples I always find the document I am looking for,
but it's drowned in results where (I imagine) the words I am looking for are
just part of the content of the file (I imagine in the reference section of all
of these files).
3. When I look for these results in KRunner, the files search plugin is more
often than not low in the search results (and the file is so low in the long
list of results that it is not even shown).

Now, here are my thoughts (but I imagine this topic might have been already
discussed, so I am kind of expecting to be reasons behind the behaviours I am
observing):
1. Well, this I assume is just something related to regular expressions. Though
using dolphin search I find results even if I write "-" in my search query. I
think it would be more user friendly to have such behaviour also in KRunner and
Kickoff.
2. To be fair it still has not happened to me that I was looking for a file by
searching for its content. It is (at least for me, but I cannot certainly
generalize it to a common behaviour) waaaay more likely that I will look for
the filename of a file I am looking for. And in any case, I assume that if I am
looking for the content of a file it's because I forgot its name, and I
probably don't have files named in that way on my filesystem. All of this to
say that I would prioritize filename matches over content matches in
baloosearch, in particular in the KRunner plugin
3. Especially if I have a match with a filename, I expect this result to be at
the top of the list, not beneath a long list of results which appear to have
nothing to do with my query, as is the case in the two new screenshots I
attached. (Now, I am realizing that a solution to one such a complaint is
probably not easy, as it would require to compare priorities or relevance among
different plugins of KRunner, and apparently [sadly for me] photos and text
documents have priority over pdf documents. Still I think that a good filename
match should be prioritized over the fact that in my master's thesis I write
the words "commutative", "algebra", "with", etc a bunch of times [Here I am
referring to the long list of .tex files that appear in the query "commutative
algebra with a view", as of one of the new screenshots].)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to