[Koha-bugs] [Bug 25273] Elasticsearch Authority matching is returning too many results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 29 16:45:01 CEST 2020


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

Alex Arnaud <alex.arnaud at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex.arnaud at biblibre.com

--- Comment #8 from Alex Arnaud <alex.arnaud at biblibre.com> ---
Functional test works perfectly with default (hardcoded) authority types.

What about custom authority types ?

Wouldn't it be better to had all Match-Heading (those harcoded in
C4::Heading::Marc21... for marc21 part) in the mappings.yaml ?

Without this patch applied:
 - I just added the following mapping for authorities:
     Match-Heading => 150(abgvxyz)

 - Imported an authority: $aWaterworks

 - Imported another authority: $aWaterworks $xCosts

 - Added a 650$aWaterworks in a biblio

 - Added a 650$aWaterworks $xCosts in the same biblio

 - reindex and misc/link_bibs_to_authorities.pl

=> 1st 650 is linked to the authority with the broader term. 2nd 650 is linked
to the other authority.

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


More information about the Koha-bugs mailing list