[Koha-bugs] [Bug 28484] New: Elasticsearch fails to parse query if colon or exclamation point is in 245$a
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 28 14:55:57 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28484
Bug ID: 28484
Summary: Elasticsearch fails to parse query if colon or
exclamation point is in 245$a
Change sponsored?: ---
Product: Koha
Version: 20.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Cataloging
Assignee: koha-bugs at lists.koha-community.org
Reporter: b.pastern4k at gmail.com
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
We have Elasticsearch 6.8.15 and the following error happens when trying to
enter colon or exclamation point into 245$a as the last symbol
[query_shard_exception] Failed to parse query [(host-item:osteuropa:)], with:
{"index_uuid": ....} called from sub
Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Search.pm line 96
'Failed to parse query [(host-item:osteuropa:)]'}],'failed_shards' => [{'shard'
=> 0,'node' => 'node','reason' => {'type' =>
'query_shard_exception','caused_by' => {'caused_by' => {'type' =>
'parse_exception','reason' => 'Encountered " ":" ": "" at line 1, column 20.
Error does not happen when entering either of these symbols in 245$b. Are these
symbols not properly escaped in that subfield?
--
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