diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-10-31 10:42:46 +0000 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-10-31 10:42:46 +0000 |
commit | 7dd4c597ba0647d6ddc9e0e53df4bbd8a13acb72 (patch) | |
tree | d4704ab806210c8d1eb61ca75e2f63cf53191db0 /container-search | |
parent | 114009196bb3669f3892fbd0ddeffe8ee6e2a633 (diff) |
Allow ExactItem inside Equiv
Diffstat (limited to 'container-search')
-rw-r--r-- | container-search/src/main/java/com/yahoo/prelude/query/EquivItem.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/query/EquivItem.java b/container-search/src/main/java/com/yahoo/prelude/query/EquivItem.java index 13ae2078a53..f7f24f5521d 100644 --- a/container-search/src/main/java/com/yahoo/prelude/query/EquivItem.java +++ b/container-search/src/main/java/com/yahoo/prelude/query/EquivItem.java @@ -30,6 +30,7 @@ public class EquivItem extends CompositeTaggableItem { Validator.ensure("Could not add an item of type " + item.getItemType() + ": Equiv can only have word/int/phrase as children", item.getItemType() == ItemType.WORD || + item.getItemType() == ItemType.EXACT || item.getItemType() == ItemType.INT || item.getItemType() == ItemType.PHRASE); } |