[Koha-bugs] [Bug 25050] Elasticsearch - authority indexing depends on mapping order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 3 15:05:38 CEST 2020


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

Andrew Fuerste-Henry <andrew at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #102347|0                           |1
        is obsolete|                            |

--- Comment #5 from Andrew Fuerste-Henry <andrew at bywatersolutions.com> ---
Created attachment 102357
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102357&action=edit
Bug 25050: Adjust marc_records_to_documents to search entire mapping array

There was an assumption in the ES code that match-heading mappings will appear
in
a specified portion of the mappings array.

Certain mappings setups will not meet this assumption.
We need to move our searching up one level

The key seems to be having a mapping for a complete field, say 150, in both the
match-heading and another field as well as having mappings for ungrouped fields
like
150a 150ab etc.

The unit test coverage should be sufficient for testing

Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>

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


More information about the Koha-bugs mailing list