Bug 226845 - nepomuk fails to find search terms with 3 characters or less
Summary: nepomuk fails to find search terms with 3 characters or less
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-14 17:24 UTC by Benjamin Schmitz
Modified: 2011-01-06 20:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.6
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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! :)