Elasticsearch is missing alias "pl" for "place-of-publication". Advanced search uses directly this alias. Currently only working with Zebra.
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