private static void disableParserSettings(Query query) {
        var lqp = new ParserSettings(false, false, false, false);
        var schemaStub = SchemaInfo.createStub(lqp);
        var ctx = Execution.Context.createContextStub(schemaStub);
        query.getModel().getExecution().context().populateFrom(ctx);
    }
Test that we get the last value if a parameter is assigned multiple times
container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java