Bug 39351 - SuggestionEngine plugin AuthorityFile is hard-coded to use Zebra
Summary: SuggestionEngine plugin AuthorityFile is hard-coded to use Zebra
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-17 02:09 UTC by David Cook
Modified: 2025-04-04 11:27 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Cook 2025-03-17 02:09:37 UTC
I say "SuggestionEngine plugin AuthorityFile is hard-coded to use Zebra" but actually it's hard-coded to use C4::AuthoritiesMarc::SearchAuthorities which is hard-coded to use Zebra.
Comment 1 David Cook 2025-03-17 02:14:29 UTC
So, if you're using Elasticsearch and you've turned off your Zebrasrv, you're likely to see the following error in your logs:

[WARN] oAuth error: Connect failed (10000) unix:/var/run/koha/INSTANCE/authoritysocket ZOOM
Comment 2 Fridolin Somers 2025-04-04 11:27:55 UTC
Arg there are 2 value builders UNIMARC with it :

cataloguing/value_builder/unimarc_field_210c.pl:use C4::AuthoritiesMarc qw( GetAuthority SearchAuthorities );
cataloguing/value_builder/unimarc_field_210c.pl:###TODO To rewrite in order to use SearchAuthorities
cataloguing/value_builder/unimarc_field_210c.pl:        my ( $results, $total ) = SearchAuthorities(
cataloguing/value_builder/unimarc_field_225a.pl:use C4::AuthoritiesMarc qw( SearchAuthorities GetAuthority );
cataloguing/value_builder/unimarc_field_225a.pl:    my ( $results, $total ) = SearchAuthorities(