@Test
    void testSegmentingRule() {
        assertEquals(SegmentingRule.PHRASE,
                getRootWord("select foo from bar where baz contains " +
                        "( {andSegmenting: false} \"colors\")").getSegmentingRule());
        assertEquals(SegmentingRule.BOOLEAN_AND,
                getRootWord("select foo from bar where baz contains " +
                        "( {andSegmenting: true} \"colors\")").getSegmentingRule());
        assertEquals(SegmentingRule.LANGUAGE_DEFAULT,
                getRootWord("select foo from bar where baz contains " +
                        "\"colors\"").getSegmentingRule());
    }
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