public RankProfile compileRankProfile(String rankProfile, Path applicationDir) {
        RankProfile compiled = rankProfileRegistry.get(schema, rankProfile)
                                                  .compile(queryProfileRegistry,
                                                           new ImportedMlModels(applicationDir.toFile(), executor, importers));
        compiledRankProfiles.put(rankProfile, compiled);
        return compiled;
    }
Helper class for setting up and asserting over a Search instance with a rank profile given literally
in the search definition language.

@author geirst
config-model/src/test/java/com/yahoo/schema/processing/RankProfileSearchFixture.java