[Koha-bugs] [Bug 13414] Enable right truncation with search by relevance

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 31 05:06:07 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13414

--- Comment #21 from David Cook <dcook at prosentient.com.au> ---
(In reply to Fridolin SOMERS from comment #20)
> How is this different from enabling "QueryStemming" ?
> Automatic truncation can lead to huge number of results, consider the
> automatic truncation of author names and short words.

That's a good question.

I suppose we'd have to look at how QueryStemming works. At a glance, it only
adds right truncation if it was able to stem the operand I think.

I think Zebra takes care of manually handling "operand*" type queries...

So yeah... I don't know about automatic truncation. I think some users expect
it, so they might do a query like "au:fish" and expect to get back results for
"Fishburne" as well as "Fisher". 

If you had QueryStemming on, I doubt "fish" would produce a stemmed operand
since it's already a stem, so that probably wouldn't work unless you had
automatic right truncation.

That said, I don't know if that's a good thing... I personally think explicit
truncation/wildcarding is a better idea..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list