diff options
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/Index.java')
-rw-r--r-- | container-search/src/main/java/com/yahoo/prelude/Index.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/Index.java b/container-search/src/main/java/com/yahoo/prelude/Index.java index 5e7fddd7fe7..365ee299ca4 100644 --- a/container-search/src/main/java/com/yahoo/prelude/Index.java +++ b/container-search/src/main/java/com/yahoo/prelude/Index.java @@ -1,6 +1,7 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude; + import com.yahoo.language.process.StemMode; import java.util.ArrayList; @@ -9,6 +10,7 @@ import java.util.Iterator; import java.util.List; import java.util.Set; + /** * Information about configured settings of a field or field collection (an actual index or not) in a search definition. * There are two types of settings: @@ -72,8 +74,8 @@ public class Index { private boolean isNGram = false; private int gramSize = 2; - /** Whether implicit phrases should lead to a phrase item or an and item. */ - private Boolean phraseSegmenting = false; + /** Whether implicit phrases should lead to a phrase item or an and item */ + private boolean phraseSegmenting = true; /** The string terminating an exact token in this index, or null to use the default (space) */ private String exactTerminator = null; |