@Test
    void testLanguageDetection() {
        // SimpleDetector used here can detect japanese and will set that as language at the root of the user input
        QueryTree tree = parse("select * from sources * where userInput(\"\u30ab\u30bf\u30ab\u30ca\")");
        assertEquals(Language.JAPANESE, tree.getRoot().getLanguage());
    }
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