Class RankProfileList

java.lang.Object
com.yahoo.schema.derived.Derived
com.yahoo.schema.derived.RankProfileList

public class RankProfileList extends Derived
The derived rank profiles of a schema
Author:
bratseth
  • Field Details

  • Constructor Details

    • RankProfileList

      public RankProfileList(Schema schema, LargeRankingExpressions largeRankingExpressions, AttributeFields attributeFields, DeployState deployState)
      Creates a rank profile list
      Parameters:
      schema - the schema this is a rank profile from
      attributeFields - the attribute fields to create a ranking for
  • Method Details

    • getRankProfiles

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

      public FileDistributedConstants constants()
    • getOnnxModels

      public FileDistributedOnnxModels getOnnxModels()
    • getDerivedName

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

      public void export(String toDirectory) throws IOException
      Throws:
      IOException
    • getRankProfilesConfig

      public List<com.yahoo.vespa.config.search.RankProfilesConfig.Rankprofile.Builder> getRankProfilesConfig()
    • getExpressionsConfig

      public List<com.yahoo.vespa.config.search.core.RankingExpressionsConfig.Expression.Builder> getExpressionsConfig()
    • getConstantsConfig

      public List<com.yahoo.vespa.config.search.core.RankingConstantsConfig.Constant.Builder> getConstantsConfig()
    • getOnnxConfig

      public List<com.yahoo.vespa.config.search.core.OnnxModelsConfig.Model.Builder> getOnnxConfig()