[Koha-bugs] [Bug 27153] ElasticSearch should search keywords apostrophe blind

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 15 06:34:38 CEST 2023


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

--- Comment #19 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #18)
> Regarding Zebra, I don't think we can get full feature parity here. However,
> we could potentially add a Title-punc_removed index and update
> ./etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl to strip punctuation for it,
> and then add that into C4::Search::_build_weighted_query() (or elsewhere). 

Alternatively, we could store a punctuation removed version into the same
index. That way you end up indexing both "Carrie's war" and "Carries War". 

But then do you do that for all indexes? That would double the size of your
index...

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


More information about the Koha-bugs mailing list