Skip to content

Commit 8d40746

Browse files
committed
remove use_dis_max from query_string query
use_dis_max is the default, and isn't supported in newer versions
1 parent 38877ad commit 8d40746

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/MetaCPAN/Query/Search.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ sub build_query {
270270
default_operator => 'AND',
271271
allow_leading_wildcard =>
272272
false,
273-
use_dis_max => true,
274273

275274
}
276275
},
@@ -283,7 +282,6 @@ sub build_query {
283282
default_operator => 'AND',
284283
allow_leading_wildcard =>
285284
false,
286-
use_dis_max => true,
287285
},
288286
},
289287
],

0 commit comments

Comments
 (0)