Bug 28309

Summary: Searching with hyphen doesn't work with Elasticsearch
Product: Koha Reporter: Joonas Kylmälä <joonas.kylmala>
Component: Searching - ElasticsearchAssignee: Peter Vashchuk <stalkernoid>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 - low CC: lisettepalouse+koha, lucy.vaux-harvey, nugged, stalkernoid
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Joonas Kylmälä 2021-05-10 14:25:21 UTC
If a biblio title contains the hyphen character "–" / \xE28093 and you try to search the title as it is written with the hyphen the search produces no results. I think we need to add hyphen to the list of punctuation characters to ignore to fix this problem. The file is in admin/searchengine/elasticsearch/index_config.yaml

The issue could probably fixed also by removing hyphen in the tokenization step when storing the record to the index?