Bug 18316: (follow-up) remove use_dis_max
authorAlex Arnaud <alex.arnaud@biblibre.com>
Tue, 9 Oct 2018 14:27:20 +0000 (14:27 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 7 Nov 2018 22:17:00 +0000 (22:17 +0000)
It is true by default on ES 5 and has been removed on ES 6

Signed-off-by: Ere Maijala <ere.maijala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Koha/SearchEngine/Elasticsearch/QueryBuilder.pm

index baeb660..fd98c36 100644 (file)
@@ -93,7 +93,6 @@ sub build_query {
             default_field    => '_all',
             lenient          => JSON::true,
             fields           => $options{fields},
-            use_dis_max      => JSON::true,
         }
     };