Hi Francois
Writing from a tablet so I will be brief. If you’re not using queryparser, there is a Perl module that does the stemming I believe. Lingua::Snowball or something like that. It would be easy to add to the queryparser too but haven’t gotten to it yet. Oh… now that I think about it… I think we mangle keywords before stemming them. I can’t remember why but there was some reason for it. Sorry this message is so incoherent. Will investigate and type a better response when I have a proper keyboard and not just thumbs on a small screen. David From: koha-devel-boun...@lists.koha-community.org [mailto:koha-devel-boun...@lists.koha-community.org] On Behalf Of Francois Charbonnier Sent: Wednesday, 27 August 2014 2:09 AM To: koha-devel@lists.koha-community.org Subject: [Koha-devel] Stemming and zebra 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! -- François Charbonnier, Bibl. prof. / Chef de produits Tél. : (888) 604-2627 <mailto:francois.charbonn...@inlibro.com> francois.charbonn...@inlibro.com inLibro | pour esprit libre | <http://www.inLibro.com> www.inLibro.com
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/