[Koha] Stemming and zebra

Fridolin SOMERS fridolin.somers at biblibre.com
Fri Sep 5 04:55:58 NZST 2014


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
fridolin.somers at biblibre.com


More information about the Koha mailing list