[Elasticsearch] Search doesn't escape trailing full stop
Hi everyone We have a record that can't seem to link to an authority record, I think this is because it has a trailing full stop - for example, John Smith Jr. When we strip out the trailing full stop (i.e. John Smith Jr), the search is successful. We get zero results if we keep it. There is an easy workaround to strip the trailing full stop when we search, however I'm sure there's a configurable way to avoid this. The default Elasticsearch index configuration that comes with Koha is: https://git.koha-community.org/Koha-community/Koha/src/branch/master/admin/s... I wonder the 'keyword' tokenizer is what causes this problem? Perhaps we could change it to 'standard' which removes most punctuation - I'd like to try but would love to know if this would solve my problem without rebuilding all my indexes! Any thoughts? -- *Aleisha Amohia (she/her)* Koha Development Lead *Catalyst IT - Expert Open Source Solutions* *Catalyst.Net Ltd - a Catalyst IT group company* Tel: +64 4 499 2267 | www.catalyst.net.nz <http://www.catalyst.net.nz> Catalyst Logo CONFIDENTIALITY NOTICE: This email is intended for the named recipients only. It may contain privileged, confidential or copyright information. If you are not the named recipient, any use, reliance upon, disclosure or copying of this email or its attachments is unauthorised. If you have received this email in error, please reply via email or call +64 4 499 2267.
Hi, Aleisha-- We're on Elastic and have a bib record with this 100 field: 100 1 _aDawes, Robert A., _cJr. _911172 That is linked to its authority. It's used in this bib record: Details for: The dragon's breath : hurricane at sea / › SF Maritime NHP Research Center catalog (bywatersolutions.com)<https://keys.bywatersolutions.com/cgi-bin/koha/opac-detail.pl?biblionumber=27938> And this is its authority record: Dawes, Robert A., Jr. (Personal Name) › Authority search › SF Maritime NHP Research Center catalog (bywatersolutions.com)<https://keys.bywatersolutions.com/cgi-bin/koha/opac-authoritiesdetail.pl?authid=11172> The bib record is retrievable in a keyword search if the trailing full stop is included or omitted. We are supported by ByWater Solutions, so I'm not sure how to see if we have that standard Elastic configuration or something different--I'd be happy to reach out to them to ask if it would help you! (Or if someone there is reading this, perhaps they could look into our configuration(s) and chime in?) Cheerio, h2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ms. Heather Hernandez (she, her, hers) Technical Services Librarian Library catalog: https://keys.bywatersolutions.com/<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkeys.bywatersolutions.com%2F&data=05%7C01%7CHeather_Hernandez%40nps.gov%7C950a4b896c6840abbf2708da5a0692c2%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637921281518907037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KDx6voZToIrZN2QYqe18e9S16%2B44bJ99OzKqi608gvQ%3D&reserved=0> San Francisco Maritime National Historical Park Research Center 2 Marina Blvd., Bldg. E, 3rd floor, San Francisco, CA 94123-1284 415-561-7032 (office generally Tu-W & F, telecommuting M&Th) heather_hernandez@nps.gov<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwebmail.lmi.net%2Fsrc%2Fcompose.php%3Fsend_to%3Dheather_hernandez%2540nps.gov&data=05%7C01%7CHeather_Hernandez%40nps.gov%7C950a4b896c6840abbf2708da5a0692c2%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637921281518907037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xRq2sXM4t7jF7lA1WvRZ7q0ff4hgben1igzi2FlLBu4%3D&reserved=0>
participants (2)
-
Aleisha Amohia -
Hernandez, Heather H