[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 14:27:49 CEST 2020


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

--- Comment #3 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 102348
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=102348&action=edit
Mappings that uncovered the bug

You can test with this mapping file. 

Donwload and save the file.
Alter your koha-conf.xml to point to this file.
Reload your koha mappings.
Reset all the things
Reindex ES
Check an auth record:
    curl -XGET 'es:9200/koha_kohadev_authorities/data/568?pretty' | grep -A 5
match-heading
Note match heading contains the terms, but not a formatted heading string
Apply patch
Reindex ES
Check an auth record
You should now have a string with 'subdiv' terms e.g.:
Authors, Irish chronologicalsubdiv 20th century formsubdiv Biography

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


More information about the Koha-bugs mailing list