[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 17:55:10 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25273
--- Comment #9 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Alex Arnaud from comment #8)
> What about custom authority types ?
It should work as before - all we do here is form the field in the index the
same way as we generate the search_form that we will search later
> Wouldn't it be better to had all Match-Heading (those harcoded in
> C4::Heading::Marc21... for marc21 part) in the mappings.yaml ?
I don't see a benefit here, as the search_form is hardcoded when linking. We
should ensure that we generate the data in the index the same way that we will
search for it.
Authority searching is a different thing than biblio searching - in this case
anyways it is strictly used to match the two records. The user has no control
over the search_form, so allowing control over the index form can only lead to
confusion
> Without this patch applied:
> - I just added the following mapping for authorities:
> Match-Heading => 150(abgvxyz)
This may work in this simpler case, however, specifying the fields generates
them in a fixed order, and authorities order can differ and has different
meanings
Also consider:
$aScience$vFiction
$aScience fiction
Which will match each other under the current code if all subfields mapped
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list