https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18316 --- Comment #102 from Julian Maurice <julian.maurice@biblibre.com> --- Comment on attachment 78397 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78397 Bug 18316: Add weighting/relevancy options to ES query on simple search Review of attachment 78397: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=18316&attachment=78397) ----------------------------------------------------------------- ::: Koha/SearchEngine/Elasticsearch/QueryBuilder.pm @@ +92,5 @@
default_operator => 'AND', default_field => '_all', lenient => JSON::true, + fields => $options{fields}, + use_dis_max => JSON::true,
From https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_sear...
The use_dis_max parameter for the query_string query has been removed. If provided, it will be ignored and issue a deprecation warning. The tie_breaker parameter must be used instead.
In elasticsearch 5, use_dis_max is true by default. So maybe it's not a good idea to specify it. -- You are receiving this mail because: You are watching all bug changes.