@Test
    void globalphase_parameters_are_resolved() {
        var q = new Query("?query=foo");
        assertNull(q.getRanking().getGlobalPhase().getRerankCount());
        q = new Query("?query=foo&" +
                      "ranking.globalPhase.rerankCount=42");
        assertEquals(42, q.getRanking().getGlobalPhase().getRerankCount());
    }
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