@Test
    void testWeakAnd() {
        assertParse("select foo from bar where weakAnd(a contains \"A\", b contains \"B\")",
                "WEAKAND(100) a:A b:B");
        assertParse("select foo from bar where {targetHits: 37}weakAnd(a contains \"A\", " +
                "b contains \"B\")",
                "WEAKAND(37) a:A b:B");

        QueryTree tree = parse("select foo from bar where weakAnd(a " +
                "contains \"A\", b contains \"B\")");
        assertEquals("WEAKAND(100) a:A b:B", tree.toString());
        assertEquals(WeakAndItem.class, tree.getRoot().getClass());
    }
Specification for the conversion of YQL+ expressions to Vespa search queries.

@author Steinar Knutsen
@author Stian Kristoffersen
container-search/src/test/java/com/yahoo/search/yql/YqlParserTestCase.java