private Item parseQuery(String query, Query.Type type) {
        Parser parser = ParserFactory.newInstance(type, new ParserEnvironment().setIndexFacts(createIndexFacts()));
        return parser.parse(new Parsable().setQuery(query).setLanguage(Language.UNKNOWN)).getRoot();
    }
Note that single-term phrases are simplified to just the term at parse time,
so the ngram rewriter cannot know to keep the grams as a phrase in this case.
container-search/src/test/java/com/yahoo/search/querytransform/test/NGramSearcherTestCase.java