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 java.lang.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 Summary
Fields Modifier and Type Field Description static java.lang.String
rankFeatureFefPropertyPrefix
static java.lang.String
summaryFeatureFefPropertyPrefix
-
Constructor Summary
Constructors Constructor Description RawRankProfile(RankProfile rankProfile, com.yahoo.search.query.profile.QueryProfileRegistry queryProfiles, ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModels importedModels, AttributeFields attributeFields)
Only for testingRawRankProfile(RankProfile rankProfile, 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.yahoo.collections.Pair<java.lang.String,java.lang.String>>
configProperties()
Returns the properties of this as an unmodifiable list.void
getConfig(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder)
java.lang.String
getName()
java.lang.String
toString()
-
-
-
Field Detail
-
summaryFeatureFefPropertyPrefix
public static final java.lang.String summaryFeatureFefPropertyPrefix
- See Also:
- Constant Field Values
-
rankFeatureFefPropertyPrefix
public static final java.lang.String rankFeatureFefPropertyPrefix
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RawRankProfile
public RawRankProfile(RankProfile rankProfile, 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
-
RawRankProfile
public RawRankProfile(RankProfile rankProfile, com.yahoo.search.query.profile.QueryProfileRegistry queryProfiles, ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModels importedModels, AttributeFields attributeFields)
Only for testing
-
-
Method Detail
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.RankProfilesConfig.Producer
-
configProperties
public java.util.List<com.yahoo.collections.Pair<java.lang.String,java.lang.String>> configProperties()
Returns the properties of this as an unmodifiable list. Note: This method is expensive.
-
-