Re: [Tracker] wildcard search incomplete?
- From: Jürg Billeter <j bitron ch>
- To: Tshepang Lekhonkhobe <tshepang gmail com>
- Cc: Tracker mailing list <tracker-list gnome org>
- Subject: Re: [Tracker] wildcard search incomplete?
- Date: Mon, 05 Oct 2009 14:36:26 +0200
On Mon, 2009-10-05 at 14:27 +0200, Tshepang Lekhonkhobe wrote:
2009/10/5 JÃrg Billeter <j bitron ch>:
On Mon, 2009-10-05 at 10:57 +0100, Martyn Russell wrote:
On 05/10/09 08:17, Tshepang Lekhonkhobe wrote:
Hi,
I see wildcard (*) only cares if missing chars are after search string
and not before. That means in aaabbbccc, if I did *bbb* and *ccc
there'll be no results. At least that's according to
tracker-search{,-tool}. Is it a simple fix or am I missing something?
Prefix matching is only implemented at this point, we can implement
suffix matching too, but I am not sure if/when that will be. There are
certain speed issues with that AFAIK.
JÃrg, any comment to add here?
Suffix matching would be possible to implement but it would require an
additional index. I don't think it's worth adding it, though, suffix
matching doesn't sound like a primary use case.
Am now thinking of long filenames, and even long words. If one
searches for 'tracker', 'does-tracker-rock-hard.txt' won't be found,
and that'll raise eye-brows. That's a common use-case I think, and
AFAIR a number of ppl have asked such functionality in this list
already.
This is a bug, we're not handling delimiters in filenames correctly at
the moment. When this is fixed, your filename will be indexed as four
separate words, so that it will be found when searching for 'tracker'.
JÃrg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]