From 17b41463951fb96433cfa637987d804ab6bdd2df Mon Sep 17 00:00:00 2001 From: Akron Date: Tue, 24 Sep 2024 17:34:05 +0200 Subject: [PATCH] Improve short circuit Change-Id: I2c66f20d57dc48c9083602f9bd066971552e5682 --- lib/Kalamar/Controller/Search.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Kalamar/Controller/Search.pm b/lib/Kalamar/Controller/Search.pm index 74143c10..6938bd6e 100644 --- a/lib/Kalamar/Controller/Search.pm +++ b/lib/Kalamar/Controller/Search.pm @@ -77,6 +77,7 @@ sub query { # Corpus query exists $query{q} = $query_placeholder; $query{count} = 0; + $query{cutoff} = 'true'; } else {