Class RankProfileList

java.lang.Object
com.yahoo.searchdefinition.derived.Derived
com.yahoo.searchdefinition.derived.RankProfileList
All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer, Exportable, com.yahoo.vespa.config.search.RankProfilesConfig.Producer

public class RankProfileList extends Derived implements com.yahoo.vespa.config.search.RankProfilesConfig.Producer
The derived rank profiles of a schema
Author:
bratseth
  • Field Details

  • Constructor Details

    • RankProfileList

      public RankProfileList(Schema schema, RankingConstants rankingConstants, LargeRankExpressions largeRankExpressions, OnnxModels onnxModels, AttributeFields attributeFields, RankProfileRegistry rankProfileRegistry, com.yahoo.search.query.profile.QueryProfileRegistry queryProfiles, ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModels importedModels, com.yahoo.config.model.api.ModelContext.Properties deployProperties, ExecutorService executor)
      Creates a rank profile
      Parameters:
      schema - the schema this is a rank profile from
      attributeFields - the attribute fields to create a ranking for
  • Method Details

    • getOnnxModels

      public OnnxModels getOnnxModels()
    • getRankProfiles

      public Map<String,RawRankProfile> getRankProfiles()
    • getRankProfile

      public RawRankProfile getRankProfile(String name)
      Returns the raw rank profile with the given name, or null if it is not present
    • getDerivedName

      public String getDerivedName()
      Specified by:
      getDerivedName in class Derived
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.vespa.config.search.RankProfilesConfig.Producer
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.core.RankingExpressionsConfig.Builder builder)
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.core.RankingConstantsConfig.Builder builder)
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.core.OnnxModelsConfig.Builder builder)