Package com.yahoo.schema.derived
Class RankProfileList
java.lang.Object
com.yahoo.schema.derived.Derived
com.yahoo.schema.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, LargeRankingExpressions largeRankingExpressions, AttributeFields attributeFields, DeployState deployState) Creates a rank profile list -
Method Summary
Modifier and TypeMethodDescriptionvoid
Exports this derived configuration to its .cfg file in toDirectoryvoid
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)
-
Field Details
-
empty
-
-
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 fromattributeFields
- the attribute fields to create a ranking for
-
-
Method Details
-
getRankProfiles
-
constants
-
getOnnxModels
-
getDerivedName
- Specified by:
getDerivedName
in classDerived
-
export
Description copied from class:Derived
Exports this derived configuration to its .cfg file in toDirectory- Specified by:
export
in interfaceExportable
- Overrides:
export
in classDerived
- Parameters:
toDirectory
- the directory to export to, or null- Throws:
IOException
- if exporting fails, some files may still be created
-
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)
-