[Koha-bugs] [Bug 15187] Adding 880 Fields to index-list in order to Increase Search for ALL non-latin Scripts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 2 08:41:24 CEST 2022


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

--- Comment #16 from David Cook <dcook at prosentient.com.au> ---
By the way, it looks like our indexing code for Elasticsearch already handles
880s:

my $tag = $field->tag();
# Handle alternate scripts in MARC 21
my $altscript = 0;
if ($marcflavour eq 'marc21' && $tag eq '880') {
    my $sub6 = $field->subfield('6');
    if ($sub6 =~ /^(...)-\d+/) {
        $tag = $1;
        $altscript = 1;
    }
}

In that case, it looks like they're not indexing 880 fields at all. Perhaps
that makes sense since if you index the 880 and the linkage derived from it,
you'd end up with 2x the keyword indexed fields...

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


More information about the Koha-bugs mailing list