Re: [Tracker] Searching for Filnames with underscore



Hi Aleksander,

thanks for the info. So this means I have to use space as separator in file names? Any possiblities to change 
that? I can understand it from a technical point of you but why is this restriction opposed on the user. 
There are enough arguments to not use spaces in filenames?

Kind of confused ;-)

Cheers,

Thomas

-------- Original-Nachricht --------
Datum: Sun, 10 Jul 2011 15:57:51 +0200
Von: Aleksander Morgado <aleksander lanedo com>
An: Thomas Sommer <mawa15 gmx de>
CC: tracker-list gnome org
Betreff: Re: [Tracker] Searching for Filnames with underscore


the last entry concerning this subject was from January 2008.
Is there any news on this?

I still have the following problem.
Filename: test_name.txt

Search for a file name works greate when I type
"test" into the search tool.
"name" with or without wildcards does not return any results.

Thanks for any comments as I would like to use tracker instead of
find . -name "*name*"


Probably underscore is not considered a valid word breaker by the
Unicode wordbreak algorithm. Tracker's FTS algorithm is only able to
look for full words or word prefixes, and therefore looking for "name"
will not return the "test_name.txt" result, in the same way as if you
look for "est" or "ame".

-- 
Aleksander


-- 
NEU: FreePhone - kostenlos mobil telefonieren!                  
Jetzt informieren: http://www.gmx.net/de/go/freephone



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