[Koha-bugs] [Bug 33406] New: Searching for authority with hyphen surrounded by spaces causes error 500 (with ES)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 4 16:01:36 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33406
Bug ID: 33406
Summary: Searching for authority with hyphen surrounded by
spaces causes error 500 (with ES)
Change sponsored?: ---
Product: Koha
Version: 22.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Searching - Elasticsearch
Assignee: koha-bugs at lists.koha-community.org
Reporter: januszop at gmail.com
With ES, an authority search in 'contains'-mode (both: OPAC & intra), where
search term contains a hyphen surrounded by spaces generates Error 500. Is is
due to ES parse exception while parsing query like: "(term_1*) AND (-) AND
(term_2*)" resulting from build_authorities_query. The same effect for some
other (less common) characters like caret (^), backslash (\), tilde (~), plus
(+).
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list