Summary: | Elasticsearch missing alias pl for place-of-publication | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Searching - Elasticsearch | Assignee: | Fridolin Somers <fridolin.somers> |
Status: | CLOSED INVALID | QA Contact: | |
Severity: | major | ||
Priority: | P5 - low | CC: | victor |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24678 | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: | Bug 29919: Elasticsearch add alias pl for place-of-publication |
Description
Fridolin Somers
2022-01-21 06:55:24 UTC
Created attachment 129681 [details] [review] Bug 29919: Elasticsearch add alias pl for place-of-publication Elasticsearch is missing alias "pl" for "place-of-publication". Advanced search uses directly this alias. Currently only working with Zebra. Test plan : 1) Use search engine Elasticsearch 2) Catalog some records with a place of publication 3) From advanced search, perform a search on "Publisher location" 4) Check you see the alias in search engine configuration pl is currently not an alias. It's used as a field name. Ahhhh indeed. Search field name is 'pl' in search engine config (also with Zebra) and in TT. So we have to rename in our ES config. I've seen 'place-of-publication' only once in code : DBRev 18.12.00.018 : $dbh->do( "UPDATE `search_field` SET `name` = 'place-of-publication', `label` = 'place-of-publication' WHERE `name` = 'place'" ); But this search field does not exist in mappings.yaml |