Re: [Tracker] strange behavior serching debian word



Carles Briansó wrote:
Hi

I make a little test, and found a strange behavior

# tracker-search debian

trackerd> Executing search with params Files, debian
trackerd> searching for debi with smin 0 and smax 9, offset 0 and limit
512

# tracker-search debie

trackerd> Executing search with params Files, debie
trackerd> searching for debi with smin 0 and smax 9, offset 0 and limit
512

# tracker-search debiean

trackerd> Executing search with params Files, debiean
trackerd> searching for debi with smin 0 and smax 9, offset 0 and limit
512

The result of the 3 searches is the same.

Using other termination the result is correct

# tracker-search debion

trackerd> Executing search with params Files, debion
trackerd> searching for debion with smin 0 and smax 9, offset 0 and
limit 512


This is normal?

yes its called stemming - see http://www.comp.lancs.ac.uk/computing/research/stemming/general/

so a search for "penguins" would be stemmed to "penguin" and all word variations of penguin would match. Think of it as a slightly fuzzy search.


--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




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