@Test
    void testOffsetAndLimit() {
        assertParse("select foo from bar where title contains \"madonna\" limit 31 offset 29",
                "title:madonna");
        assertEquals(Integer.valueOf(29), parser.getOffset());
        assertEquals(Integer.valueOf(2), parser.getHits());

        assertParse("select * from bar where title contains \"madonna\" limit 41 offset 37",
                "title:madonna");
        assertEquals(Integer.valueOf(37), parser.getOffset());
        assertEquals(Integer.valueOf(4), parser.getHits());
    }
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