Class RawRankProfile

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

public class RawRankProfile extends Object implements com.yahoo.vespa.config.search.RankProfilesConfig.Producer
A rank profile derived from a search definition, containing exactly the features available natively in the server
Author:
bratseth
  • Field Details

  • Constructor Details

    • RawRankProfile

      public RawRankProfile(RankProfile rankProfile, LargeRankExpressions largeExpressions, com.yahoo.search.query.profile.QueryProfileRegistry queryProfiles, ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModels importedModels, AttributeFields attributeFields, com.yahoo.config.model.api.ModelContext.Properties deployProperties)
      Creates a raw rank profile from the given rank profile
  • Method Details

    • getName

      public String getName()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getConfig

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

      public List<com.yahoo.collections.Pair<String,String>> configProperties()
      Returns the properties of this as an unmodifiable list. Note: This method is expensive.