From 973bc0aceba522301217817239f1a9388ffda145 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Tue, 9 Oct 2018 14:27:20 +0000 Subject: [PATCH] Bug 18316: (follow-up) remove use_dis_max It is true by default on ES 5 and has been removed on ES 6 Signed-off-by: Ere Maijala Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- Koha/SearchEngine/Elasticsearch/QueryBuilder.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm index baeb6600ad..fd98c3615b 100644 --- a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm +++ b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm @@ -93,7 +93,6 @@ sub build_query { default_field => '_all', lenient => JSON::true, fields => $options{fields}, - use_dis_max => JSON::true, } }; -- 2.39.5