Class 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
    • Constructor Detail

      • 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 Detail

      • getName

        public String getName()
      • 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.