private IndexFacts createIndexFacts(boolean phraseSegmenting) {
        SearchDefinition sd = new SearchDefinition("sources");
        Index test = new Index("text_field");
        test.setPhraseSegmenting(phraseSegmenting);
        sd.addIndex(test);
        return new IndexFacts(new IndexModel(sd));
    }
Tests where you really test YqlParser but need the full Query infrastructure.

@author steinar
container-search/src/test/java/com/yahoo/search/yql/UserInputTestCase.java