[Koha-bugs] [Bug 22339] Elasticsearch - fixed field mappings should match MARC ranges

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 25 10:02:39 CEST 2019


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #9 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 88706
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88706&action=edit
Bug 22339: Fix search field mappings of MARC fixed fields

Fixes handling of /0 selector in addition to several fixed field positions.
Note that ff7-01-02 is in fact 00-01 in Zebra and that has been replicated
here.

Test plan:
1. Before applying a patch, check from Elasticsearch (e.g.
localhost:9200/koha_biblios/_search?q=_id:123) what is indexed in Elasticsearch
for a record for date-entered-on-file, ff7-00, ff7-01, ff7-02 and lleader.
2. Apply the patch, update database and save the record again.
3. Verify that the contents of the forementioned fields is now correct in
Elasticsearch.
4. Verify that tests pass:  prove -v t/Koha/SearchEngine/Elasticsearch.t

Signed-off-by: Björn Nylén <bjorn.nylen at ub.lu.se>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list