@Test
    void testSecondPhaseRankScoreDropLimit() {
        var query = new Query("?query=test&ranking.secondPhase.rankScoreDropLimit=17.5");
        var ranking = query.getRanking();
        assertEquals(17.5, ranking.getSecondPhase().getRankScoreDropLimit());
        ranking.prepare();
        assertEquals("17.5", ranking.getProperties().get("vespa.hitcollector.secondphase.rankscoredroplimit").get(0));
    }
Test setting sorting to null does not cause an exception.
container-search/src/test/java/com/yahoo/search/query/test/RankingTestCase.java