[Koha-bugs] [Bug 27581] Rename UseICU system preference to UseICUStyleQuotes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 23 02:50:50 CET 2021


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

--- Comment #14 from David Cook <dcook at prosentient.com.au> ---
(In reply to Nick Clemens from comment #13)
> I did not find the documentation from Zebra on the use of quotes, but I
> assume ICU requires the change - many of our partner sites were using
> non-ICU indexing with ICU style quotes, so at least one=-way it is not
> harmful

Actually, now that I think about this again, I think that Koha's idea of "ICU
quotes" is totally wrong.

Koha doesn't speak ICU or CHR to Zebra. Koha just sends PQF queries to Zebra
(and it uses a CCL2RPN conversion to produce these PQF queries). The quotes are
relevant only in terms of CCL and PQF queries. So... they're relevant
regardless of indexing mode (which basically just governs normalization and
tokenization).

Now... Bug 27299 shows and solves a tokenization issue with ICU and phrase
registers, and that caused there to be a difference in how records were being
indexed. 

I see that there is a TraceCompleteSubfields system preference which adds a
qualifier of ",complete-subfield", which would cause the phrase register to be
used as it's a 6=2 attribute (see
https://github.com/indexdata/idzebra/blob/master/tab/default.idx for details on
the register)

Technically speaking, we should always be wrapping the operands in double
quotes so that queries are like this: au="Cook, David" and su="ICU".

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


More information about the Koha-bugs mailing list