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

            Bug ID: 357960
           Summary: baloosearch cannot filter rating criteria correctly
           Product: Baloo
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Engine
          Assignee: m...@vhanda.in
          Reporter: svps777+...@gmail.com
                CC: pinak.ah...@gmail.com

Consider below command:
baloosearch -d. "rating>=10" | grep -i unconditionally
output:
/path/to/directory/Katy Perry/Katy Perry - Unconditionally
(Official)-XjwZAa2EjKA.mp4

and consider the output of getfattr:
getfattr -d Katy\ Perry\ -\ Unconditionally\ \(Official\)-XjwZAa2EjKA.mp4 
# file: Katy Perry - Unconditionally (Official)-XjwZAa2EjKA.mp4
user.baloo.rating="8"

So baloosearch shouldn't show that file. I'm using Fedora 23 65 bit:
rpm -qa | grep -i baloo
kf5-baloo-file-5.18.0-1.fc23.x86_64
baloo-kcmadv-1.00.00-1.fc22.x86_64
kf5-baloo-5.18.0-1.fc23.x86_64
kf5-baloo-libs-5.18.0-1.fc23.x86_64
baloo-widgets-15.08.1-1.fc23.x86_64
baloo-libs-4.14.3-5.fc23.x86_64

Reproducible: Always

Steps to Reproduce:
1. set "user.baloo.rating" xattribute to 8 for foo.mp4
2. run baloosearch -d. "rating>=10"
3. The file will appear in the result.

Actual Results:  
A set of files in which there are some files that don't have rating >= 10

Expected Results:  
The set of files must have rating >= 10

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

Reply via email to