Bug 226845

Summary: nepomuk fails to find search terms with 3 characters or less
Product: [Unmaintained] nepomuk Reporter: Benjamin Schmitz <vortex>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED FIXED    
Severity: normal CC: mail, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.6
Sentry Crash Report:

Description Benjamin Schmitz 2010-02-14 17:24:04 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    Archlinux Packages

To test this is have created a text file in my home directory named "abcdef" with the content "foobar". I use dolphin's search bar to do the searches.

When I search for "abc" it shows no results.

When I search for "abcd", "abcde" or "abcdef" it correctly finds the file.

Likewise, when I search for "foo", it shows nothing.

As soon as I enter more characters (from "foob" to "foobar") it finds the file.

It seems nepomuksearch just ignores search terms with 3 characters or less which I don't think is a good idea.
Comment 1 Andreas Kuhl 2010-02-16 10:14:16 UTC
I can confirm that this behaviour showed up after 4.4 RC3, it worked perfectly with 3 characters before and fails now in the final release.
Comment 2 Sebastian Trueg 2010-02-16 12:56:57 UTC
Virtuoso 6.1 has a minimum 4 char for full text searches. V5 had 3 chars. I will look into this to see what can be done about that.
Comment 3 Sebastian Trueg 2011-01-06 16:28:12 UTC
Fixed with commit 1212019 in 4.6 and trunk.
Comment 4 Andreas Kuhl 2011-01-06 20:12:57 UTC
I can confirm that this is fixed in KDE SC 4.6 RC2. Thank you, this made Nepomuk so much more useful for me since my employer happens to be named by only 3 letters! :)