@Test
    void testFuzzyAnnotations() {
        QueryTree x = parse(
                "select foo from bar where baz contains ({maxEditDistance: 3, prefixLength: 10, prefix: true}fuzzy(\"a b\"))"
        );
        Item root = x.getRoot();
        assertSame(FuzzyItem.class, root.getClass());
        var fuzzy = (FuzzyItem) root;
        assertEquals("baz", fuzzy.getIndexName());
        assertEquals("a b", fuzzy.stringValue());
        assertEquals(3, fuzzy.getMaxEditDistance());
        assertEquals(10, fuzzy.getPrefixLength());
        assertTrue(fuzzy.isPrefixMatch());
    }
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