[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Baloo] [Bug 333037] Search for filenames requires first characters,  cannot start in the middle
From:       Vishesh Handa <me () vhanda ! in>
Date:       2014-09-21 12:40:19
Message-ID: bug-333037-17878-6RQXHfRdZK () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #9 from Vishesh Handa <me@vhanda.in> ---
Update report -

We have been working on a user visible query parser which has a simple syntax
such as "title:Foo   OR artist:Coldplay". It also supports some basic
parenthesis. The idea is to expose this query language everywhere where Baloo
is used. This would include krunner as well.

So, you should be able to do "filename:foo". This would find all files which
begin with foo. If you wanted to handle middle characters you can use
wildcards. "filename:*foo". Any combination of * can be used. This extra *
based approach is more expensive so it might be about 100-500 msecs slower.
Depends on your database size.

This * based approach is currently only implemented for filenames. We can
easily extended it to others though. I'll close this bug when the krunner uses
this parser. I want to get that done in time for Plasma 5.1.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic