[Koha-bugs] [Bug 32940] New: [Bug 30280 follow-up] Subject-heading-thesaurus-conventions search field missing in Zebra

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 10 14:22:06 CET 2023


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

            Bug ID: 32940
           Summary: [Bug 30280 follow-up]
                    Subject-heading-thesaurus-conventions search field
                    missing in Zebra
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: MARC Authority data support
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: januszop at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: frank.hansen at ub.lu.se, katrin.fischer at bsz-bw.de

In the bug 30280 a new searchfield Subject-heading-thesaurus-conventions has
been introduced for ElasticSearch (indexing 040 $f of an authority record). 
This searchfield is used in C4::Heading::_search with an alias
thesaurus-conventions (introduced with the same bug and defined only in
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm).

At the same time, neither Subject-heading-thesaurus-conventions nor
thesaurus-conventions are defined for Zebra.  As a result, while performing a
linking (with link_bibs_to_authorities.pl for instance) of a biblio 6XX field
with 2nd indicator == 7 and proper $2 (e.g. 650 _7 $a Ekonomia $2 DBN) with
Zebra engine we get:

error: Unsupported Use attribute (114) thesaurus-conventions Bib-1

On the other hand, according to the stable Zebra configuration (for 15 years or
so) Koha inserts 040 $f into the Subject-heading-thesaurus index, as goes there
008/11 byte, transformed in the following way:

a => lcsh
b => lcac
c => mesh
d => nal
k => cash
n => notapplicable
r => aat
s => sears
v => rvm

So, maybe ES should go the same way?  If for some reasons no, the Koha part
should be modified accordingly.

It seems that changes made in Koha in favour of the ES should always be very
carefully checked in Zebra context... Now the linking feature in Zebra does not
work in most cases (also described in the bug 32916).

Seeing the comment at
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30280#c58, I
understand that the enhancement is still not mature enough. So, I am wondering
that it has been accepted in the released version (22.11.00)... Was this not by
mistake?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list