@Override
    public Result search(Query query, Execution execution) {
        if (shouldBeDegraded(query, execution.context().getIndexFacts().newSession(query)))
            setDegradation(query);
        return execution.search(query);
    }
Set this to false in query.properties to turn off degrading. Default: on
container-search/src/main/java/com/yahoo/search/querytransform/SortingDegrader.java