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 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 String
featureRenameFefPropertyPrefix
static String
matchFeatureFefPropertyPrefix
static String
rankFeatureFefPropertyPrefix
static String
summaryFeatureFefPropertyPrefix
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.yahoo.collections.Pair<String,String>>
configProperties()
Returns the properties of this as an unmodifiable list.void
getConfig(com.yahoo.vespa.config.search.RankProfilesConfig.Builder builder)
String
getName()
String
toString()
-
-
-
Field Detail
-
summaryFeatureFefPropertyPrefix
public static final String summaryFeatureFefPropertyPrefix
- See Also:
- Constant Field Values
-
matchFeatureFefPropertyPrefix
public static final String matchFeatureFefPropertyPrefix
- See Also:
- Constant Field Values
-
rankFeatureFefPropertyPrefix
public static final String rankFeatureFefPropertyPrefix
- See Also:
- Constant Field Values
-
featureRenameFefPropertyPrefix
public static final String featureRenameFefPropertyPrefix
- See Also:
- Constant Field Values
-
-
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 interfacecom.yahoo.vespa.config.search.RankProfilesConfig.Producer
-
-