[Koha-bugs] [Bug 28309] New: Searching with hyphen doesn't work with Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 10 16:25:21 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28309

            Bug ID: 28309
           Summary: Searching with hyphen doesn't work with Elasticsearch
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: joonas.kylmala at helsinki.fi
                CC: nugged at gmail.com, stalkernoid at gmail.com

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?

-- 
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