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

--- Comment #8 from David Cook <[email protected]> ---
Also, I think that your intention here might be locale specific, so there might
be a better way of doing this change.

Take a look at bug 36947 where I use a locale-specific sort for Elasticsearch
facets. 

Consider the functionality available in Unicode::Collate and
Unicode::Collate::Locale. You might consider using
$Collator->eq($auth_heading->search_form,$self->search_for) to have a more
nuanced comparison.

I'd love to hear from some French and Spanish libraries about what they'd like
here, because I think diacritics get ignored in those locales during collation. 

However, I think for German u and ΓΌ are treated as separate letters for
collation, although I haven't verified.

Anyway, not saying you have to use the Unicode modules for this. It's just
something to consider. 

--

Another thought I had was perhaps you can configure your Elasticsearch
differently. Consider this email regarding Arabic libraries:
https://lists.katipo.co.nz/public/koha/2024-August/060968.html. 

While there isn't a Polish analyser out of the box, there is a "Stempel Polish
analysis plugin". You'd need to update a number of Koha ES configuration files,
but it could be doable. 

--

Note the above aren't requirements. Just suggestions that might help you.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to