@Test
    void testSimpleWandAdvanced() {
        tester.assertParsed("WEAKAND(100) foo bar baz", "foo wand bar wand baz", Query.Type.ADVANCED);
    }
Shortcut terms are represented as any other terms, but can be rewritten downstream.
The information about added bangs is available from the origin as shown (do not use the weight to find this)
container-search/src/test/java/com/yahoo/prelude/query/parser/test/ParseTestCase.java