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

--- Comment #14 from Pedro Amorim (ammopt) <[email protected]> ---
Created attachment 200654
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200654&action=edit
Bug 23649: Apply function_score value boosts in ES QueryBuilder

Wraps the biblios Elasticsearch query in a function_score query when
any search_field_value_boost rows are configured. Each row becomes a
filter+weight function: documents matching a boosted value have their
relevance score multiplied by the configured weight; documents matching
no filter are unaffected (neutral 1.0 multiplier).

score_mode 'max' takes the highest matching weight per document;
boost_mode 'multiply' applies it against the original query score.

Boost functions are cached for 5 minutes under the
elasticsearch_value_boost_functions key, cleared alongside the existing
search fields cache when mappings are saved.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to