summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query/Model.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-06-09 15:00:48 +0200
committerJon Bratseth <bratseth@gmail.com>2022-06-09 15:00:48 +0200
commit0b1da738e231afe80c6d7fe76f2cf47efca70071 (patch)
treec5ab6ff7942f958361fa201aca6dbf994e7fcd0d /container-search/src/main/java/com/yahoo/search/query/Model.java
parent4538fa9c4075cb3c39f61246e2e9606b73a9a9f1 (diff)
Change user query default from ALL to WEAKAND on Vespa 8
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/Model.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/Model.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/Model.java b/container-search/src/main/java/com/yahoo/search/query/Model.java
index 1b12f3f3bb8..dbaab3045bf 100644
--- a/container-search/src/main/java/com/yahoo/search/query/Model.java
+++ b/container-search/src/main/java/com/yahoo/search/query/Model.java
@@ -86,7 +86,7 @@ public class Model implements Cloneable {
private Locale locale = null;
private QueryTree queryTree = null; // The query tree to execute. This is lazily created from the program
private String defaultIndex = null;
- private Query.Type type = Query.Type.ALL;
+ private Query.Type type = Query.Type.WEAKAND;
private Query parent;
private Set<String> sources = new LinkedHashSet<>();
private Set<String> restrict = new LinkedHashSet<>();