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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 30 02:24:20 CEST 2022


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

--- Comment #15 from David Cook <dcook at prosentient.com.au> ---
(In reply to Katrin Fischer from comment #7)
> Could we treat it ' as a space and 'no space' at the same time maybe? 

Without language-specific analysis, this might be the best way to go...

(In reply to Nick Clemens from comment #13)
> Created attachment 139969 [details] [review]
> Bug 27153: POC
> 
> This is a small example to show that we can add an extra field to our
> default indexing that
> removes punctuation.
> 
> If we then add that field to the fields we push, we can sarch both the
> regular and the punctuation stripped version

I'm not very familiar with the Elasticsearch integration, but that POC doesn't
touch the indexing, does it? Isn't it just modifying the search? (I don't know
that it's touching apostrophes either?)

If you searched "carries war" but it had been indexed as "carrie s war", then
you still wouldn't get a hit?

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


More information about the Koha-bugs mailing list