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 Summary
-
Constructor Summary
ConstructorDescriptionRankProfileList
(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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
getConfig
(com.yahoo.vespa.config.search.core.OnnxModelsConfig.Builder builder) void
getConfig
(com.yahoo.vespa.config.search.core.RankingConstantsConfig.Builder builder) void
getConfig
(com.yahoo.vespa.config.search.core.RankingExpressionsConfig.Builder builder) void
getConfig
(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder) getRankProfile
(String name) Returns the raw rank profile with the given name, or null if it is not present
-
Field Details
-
empty
-
-
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 fromattributeFields
- the attribute fields to create a ranking for
-
-
Method Details
-
getOnnxModels
-
getRankProfiles
-
getRankProfile
Returns the raw rank profile with the given name, or null if it is not present -
getDerivedName
- Specified by:
getDerivedName
in classDerived
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder) - Specified by:
getConfig
in interfacecom.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)
-