@Test
    void testBoolean() {
        assertParse("select foo from bar where flag = true;", "flag:true");
        QueryTree query = assertParse("select foo from bar where flag = false;", "flag:false");
        assertEquals(BoolItem.class, query.getRoot().getClass());
        BoolItem item = (BoolItem) query.getRoot();
        assertEquals("flag", item.getIndexName());
        assertEquals(false, item.value());
    }
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