https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23649 --- Comment #30 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 206585 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206585&action=edit Bug 23649: (QA follow-up) Sum overlapping relevance boosts instead of taking the max score_mode was 'max': a record matching multiple boosts only counted the single highest weight. Now 'sum', so matching weights add up. Test plan (Jason's repro from comment 28, retested against the fix): 1.) Add $(".search_score").toggle(); to IntranetUserJS to see the search score 2.) Search for john > results all score 1 3.) Add a boost of itype > BK > 200 4.) Search for john > records with BK in the 942$c get a score of 200 (some of the results look wrong because of the item-level itypes but the record-level types are boosted correctly) 5.) Add an additional boost of location > GEN > 200 6.) Search for john. Confirm records with both itype BK and location GEN now score 400, ranking above records matching only one of the two boosts (score 200). prove t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.