aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/prelude/query/parser
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-04-14 15:15:06 +0200
committerJon Bratseth <bratseth@gmail.com>2021-04-14 15:15:06 +0200
commit8eec45ee768dfc9b810eba7904e9116d6a0cfa17 (patch)
tree4b7a33392f6f8605f6e1ea33c8b1615887bae1a9 /container-search/src/test/java/com/yahoo/prelude/query/parser
parentacc1a51015dc24ad3de9e99c9c067d49a517b8c1 (diff)
Change WAND to WEAKAND in debug output format
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/query/parser')
-rw-r--r--container-search/src/test/java/com/yahoo/prelude/query/parser/test/ParseTestCase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/query/parser/test/ParseTestCase.java b/container-search/src/test/java/com/yahoo/prelude/query/parser/test/ParseTestCase.java
index f221cbb63b1..6afea895f3a 100644
--- a/container-search/src/test/java/com/yahoo/prelude/query/parser/test/ParseTestCase.java
+++ b/container-search/src/test/java/com/yahoo/prelude/query/parser/test/ParseTestCase.java
@@ -2480,17 +2480,17 @@ public class ParseTestCase {
@Test
public void testSimpleWandAdvanced() {
- tester.assertParsed("WAND(100) foo bar baz", "foo wand bar wand baz", Query.Type.ADVANCED);
+ tester.assertParsed("WEAKAND(100) foo bar baz", "foo wand bar wand baz", Query.Type.ADVANCED);
}
@Test
public void testSimpleWandAdvancedWithNonDefaultN() {
- tester.assertParsed("WAND(32) foo bar baz", "foo wand(32) bar wand(32) baz", Query.Type.ADVANCED);
+ tester.assertParsed("WEAKAND(32) foo bar baz", "foo weakand(32) bar weakand(32) baz", Query.Type.ADVANCED);
}
@Test
public void testSimpleWandAdvancedWithNonDefaultNAndWeights() {
- tester.assertParsed("WAND(32) foo!32 bar!64 baz", "foo!32 wand(32) bar!64 wand(32) baz", Query.Type.ADVANCED);
+ tester.assertParsed("WEAKAND(32) foo!32 bar!64 baz", "foo!32 weakand(32) bar!64 weakand(32) baz", Query.Type.ADVANCED);
}
@Test