The stemming uses Lingua::Stem::Snowball to perform compute stemmed form of search terms. Then it is used in _build_weighted_query to add a query with left truncation.

Regards ;)

Le 26/08/2014 18:10, Francois Charbonnier a écrit :
Hello,

I have tested the QueryStemming system preference on Koha 3.14 (my local
installation) and I'm wondering, does zebra just right truncate the
words or is there an algorithm to find the stems?

I use ICU and I have enabled "QueryWeightFields". I don't have automatic
truncation or fuzzy search on. I use these words for my tests:

  * ski, skiing, skills
  * fish, fished, fishing, fisher, fishxsdfe

Each time, with QueryStemming on, skills and fishxsdfe come out in the
search results. Is it what I should expect? "Skills", maybe but
"fishxsdfe"?

Do you know how it works? or have a good example that would help me to
understand?

Thanks!

--
Fridolin SOMERS
Biblibre - Pôles support et système
[email protected]
_______________________________________________
Koha mailing list  http://koha-community.org
[email protected]
http://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to