diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-06-09 15:00:48 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-06-09 15:00:48 +0200 |
commit | 0b1da738e231afe80c6d7fe76f2cf47efca70071 (patch) | |
tree | c5ab6ff7942f958361fa201aca6dbf994e7fcd0d /container-search/src/main/java/com/yahoo/search/query/Model.java | |
parent | 4538fa9c4075cb3c39f61246e2e9606b73a9a9f1 (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.java | 2 |
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<>(); |