Package com.yahoo.schema.derived
Class RawRankProfile
java.lang.Object
com.yahoo.schema.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
RawRankProfile has a long lifetime so do not refer objects not necessary.
- Author:
- bratseth
-
Constructor Summary
ConstructorDescriptionRawRankProfile
(RankProfile rankProfile, LargeRankingExpressions 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 Summary
-
Constructor Details
-
RawRankProfile
public RawRankProfile(RankProfile rankProfile, LargeRankingExpressions 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
-
constants
-
onnxModels
-
getName
-
configProperties
Returns the properties of this as an unmodifiable list. Note: This method is expensive. -
getConfig
public void getConfig(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.RankProfilesConfig.Producer
-
toString
-