[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
Sat Aug 21 22:20:17 CEST 2021


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

--- Comment #73 from Andrew Nugged <nugged at gmail.com> ---
First, if you create" crazy request like (exactly this to the search field):

    The reserved characters are: + - = && || > < ! ( ) { } [ ] ^ " ~ * ? : \ /

it's impossible to do such fuzziness to guess what's wrong in such message
in ES query, so we will just tell the user this:

  Error: There might be results, but there is ElasticSearch query language
  syntax error in your search request: remove or escape with backslash
  ES-language reserved characters (those are: + - = && || > < ! ( ) { }
  [ ] ^ " ~ * ? : / ) or change it to be the proper ES-language
  request and try again."

(as from Bug 28736)

But in the current ticket, we added some more clean fuzziness (let me describe
difference between "current master" and what this current bugfix brings
further

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


More information about the Koha-bugs mailing list