[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
Tue Jul 13 15:52:39 CEST 2021


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

--- Comment #58 from Peter Vashchuk <stalkernoid at gmail.com> ---
(In reply to Victor Grousset/tuxayo from comment #51)
> With QueryAutoTruncate=only if *
> For a search of the following and a record named the following:
> The reserved characters are: + - = && || > < ! ( ) { } [ ] ^ " ~ * ? : \ /
> => Error: Unable to perform your search
> 
> With QueryAutoTruncate=auto
> For a search of the following and a record named the following:
> The reserved characters are: + - = && || > < ! ( ) { } [ ] ^ " ~ * ? : \ /
> => Error: Unable to perform your search

Hey Victor, thanks for the response,

I think search query like that should never work as it will always cause ES
syntax error, ElasticSearch is a mini-language after all and has it's own
syntax and it will die on something like that.
Though we do need to notify the user, in cases like that, that the search query
is incorrect and that they need to correct it and search with it again. I will
make a ticket for it a bit later if.

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


More information about the Koha-bugs mailing list