[Koha-bugs] [Bug 21357] Filter elisions from index and search terms in Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 22 20:56:54 CEST 2023


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

--- Comment #76 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to David Cook from comment #75)
> (In reply to Janusz Kaczmarek from comment #74)
> > ... I mean the original apostrophe filter:
> > https://www.elastic.co/guide/en/elasticsearch/reference/8.7/analysis-
> > apostrophe-tokenfilter.html
> 
> According to the documentation, that was originally created for the Turkish
> language.
> 
> In English, it would work well with apostrophe S ('s) but not so well for
> contractions like "don't" or "can't". 
> 
> It would also break languages like Ukrainian:
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27153#c14

I am not sure I follow that argument. We already have been ignoring ' with
Zebra for many years and never got a bug filed about it. On the other hand, we
have a lot of people now that ask for it to ignore the '. 

Would it be possible to make it configurable? If not, I'd say we should just go
with it. It's a big issue for French. And searching 'dont' is what I feel is
more common than 'don t'.

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


More information about the Koha-bugs mailing list