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

Kristen McWilliam <kmcwilliampub...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmcwilliampub...@gmail.com

--- Comment #26 from Kristen McWilliam <kmcwilliampub...@gmail.com> ---
src/tools/baloosearch/main.cpp


Number of arguments: 2
arg[0] = /home/merritt/Development/kde/build/baloo/bin/baloosearch6
arg[1] = avatar.jpg
query.toJSON(): {"searchString":"avatar.jpg"}
query.toSearchUrl():
baloosearch:?json=%7B%22searchString%22:%22avatar.jpg%22%7D
/home/merritt/Downloads/balootest.txt
/home/merritt/Downloads/avatar.jpg
Elapsed: 1.93772 msecs


Number of arguments: 4
arg[0] = /home/merritt/Development/kde/build/baloo/bin/baloosearch6
arg[1] = -d
arg[2] = /home/merritt/Downloads
arg[3] = avatar.jpg
query.toJSON():
{"includeFolder":"/home/merritt/Downloads","searchString":"avatar.jpg"}
query.toSearchUrl():
baloosearch:?json=%7B%22includeFolder%22:%22/home/merritt/Downloads%22,%22searchString%22:%22avatar.jpg%22%7D
Elapsed: 19.443 msecs


*****


I tried to debug the actual implementations, especially in
`SearchStore::constructQuery`, `SearchStore::exec`, and
`Transaction::postingIterator`; but the code there made my brain melt so all I
have is some values extracted from baloosearch.

This does show the error as I am experiencing it, as I have a `avatar.jpg` in
my ~/Downloads folder, and I created a text file `~Downloads/balootest.txt`
with the content of `avatar.jpg` for the purposes of the test. We can see a
plain search finds both, and a search restricted to the Downloads directory
finds nothing.

Popping the `query.toSearchUrl` into Dolphin reveals the same thing, as
expected.

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

Reply via email to