[Koha-bugs] [Bug 28316] Fix ES crashes related to various punctuation characters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 22 02:01:38 CEST 2021


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

--- Comment #78 from Andrew Nugged <nugged at gmail.com> ---
And the exclamation mark:
======================

this used to be the "negate" command for words in queries, ONLY when '!'
sticking
to the beginning of the word, so patch fuzziness added: non-sticky and trailing
exclamations marks removed, so in the case of the search:

    Dalek!

without the patch, this brought a yellow error box, but with the patch dangling
"!" was removed and it just passes "Dalek" to ES.
It finds two books in our test DB, btw.

And this one:

    Dalek !War

works normally with both, with and without the patch. It searches for "Dalek"
but negates "war" word presence. In our test dev-DB by the way, it gives just
one book as a result.

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


More information about the Koha-bugs mailing list