https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28884 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |januszop@gmail.com --- Comment #5 from Janusz Kaczmarek <januszop@gmail.com> --- Observations: 1. It happens that question mark (‘?’) is contained in bibliographic data (e.g. in title). 2. It happens that user perform searches with that contain question mark (e.g. searching with a title taken verbatim). 3. In ES queries, in particular in query_string query, question mark has a special meaning – substitutes one character (https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-qu...). Question mark has also special meaning in regexp inside quiery_string (https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-qu...). 4. Ordinary users are not aware of this special function of the question mark and, as a result, receive no results (e.g. while searching for title like "Will libraries survive? : the future of public libraries"). So, the question mark should be removed from query term (clean_search_term) or -- better -- escaped in the same way as slash is escaped (_query_regex_escape_process). A patch will follow. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.