[Koha-bugs] [Bug 28884] New: ElasticSearch: Question mark in title search returns no results
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 19 16:01:20 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28884
Bug ID: 28884
Summary: ElasticSearch: Question mark in title search returns
no results
Change sponsored?: ---
Product: Koha
Version: 20.11
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Searching - Elasticsearch
Assignee: koha-bugs at lists.koha-community.org
Reporter: jyorio at equinoxinitiative.org
When searching for a title with a question mark, Who's Afraid of Virginia
Woolf? for example, Koha returns no results with ElasticSearch.
Removing the question mark or escaping it retrieves results, as does enclosing
the entire title with the question mark in quotes.
Since ? is a wildcard for ElasticSearch, this may be expected behavior (I'm not
sure that it is or isn't), but explaining to patrons that they need to change
their search behavior can be a big ask for libraries.
Not sure what the best option is. Perhaps a system preference to automatically
escape ? and not treat it as a wildcard for those libraries who would prefer
that?
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list