[Koha-bugs] [Bug 20607] Elasticsearch - ability to add a relevancy weight in mappings.yaml file
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 12 14:18:10 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20607
Björn Nylén <bjorn.nylen at ub.lu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bjorn.nylen at ub.lu.se
--- Comment #3 from Björn Nylén <bjorn.nylen at ub.lu.se> ---
The functionality works but the tests fail due to the weight is beeing returned
as a decimal number.
# Failed test 'Match search field is weighted with 15'
# at t/db_dependent/Koha/SearchEngine/Elasticsearch/Reset.t line 61.
# got: '15.00'
# expected: '15'
# Failed test 'Title search field is weighted with 20'
# at t/db_dependent/Koha/SearchEngine/Elasticsearch/Reset.t line 64.
# got: '20.00'
# expected: '20'
# Looks like you failed 2 tests of 4.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list