[EMAIL PROTECTED] wrote:
> please have a look:

Hi :)

> [EMAIL PROTECTED]:~$ touch ayxcvbn.txt
> [EMAIL PROTECTED]:~$ tracker-search ayxcv
> 
> -> no results when searching for a partial file-name ?!
> 
> [EMAIL PROTECTED]:~$ tracker-search ayxcvbn
> /home/gebi/ayxcvbn.txt
> 
> fine -- works with a full file-name without extension.
> 
> now make a new filename - the same as above but with an underscore:
> 
> [EMAIL PROTECTED]:~$ touch ayxcvbn_go.txt
> [EMAIL PROTECTED]:~$ tracker-search ayxcvbn
> /home/gebi/ayxcvbn.txt
> /home/gebi/ayxcvbn_go.txt
> 
> now I got all results !
> 
> [EMAIL PROTECTED]:~$ tracker-search ayxcvb
> 
> but for a partial filename -> no results but for 
> 
> a "full" part of a filename it works:
> 
> [EMAIL PROTECTED]:~$ tracker-search ayxcvbn
> /home/gebi/ayxcvbn.txt
> /home/gebi/ayxcvbn_go.txt
> 
> 
> any hints ?
> I think searching for filenames should have a similar behavior as locate
> which searchs for  "*file*"
> in this way it could be an "always up to date replacement" for locate
> and an essential behavior when used in a filemanager.

I had this exact problem the other day.
Partial matches for prefixes or suffixes are currently not supported.

What is indexed there is "home", "gebi", "ayxcvbn", "go", there is no
partial matching for any of those because doing so requires a full table
query (i.e. all entries need to be looked up) which is expensive.

I believe there is work ongoing to resolve this.

-- 
Regards,
Martyn
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to