Re: [Tracker] wildcard search incomplete?



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.

It's not planned at the moment to implement the more interesting infix
search *bbb* as it would either require an additional large index or it
would be slow, unless there is a magic solution I'm not aware of ;)

JÃrg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]