Uses of Class
com.yahoo.searchdefinition.RankProfile
-
-
Uses of RankProfile in com.yahoo.searchdefinition
Subclasses of RankProfile in com.yahoo.searchdefinition Modifier and Type Class Description class
DefaultRankProfile
The rank profile containing default settings.class
DocumentsOnlyRankProfile
A rank profile which ignores all calls made to it which may fail in a document only setting.class
UnrankedRankProfile
A low-cost ranking profile to use for watcher queries etc.Methods in com.yahoo.searchdefinition that return RankProfile Modifier and Type Method Description RankProfile
RankProfile. clone()
Shallow clones thisRankProfile
RankProfile. compile(com.yahoo.search.query.profile.QueryProfileRegistry queryProfiles, ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModels importedModels)
Returns a copy of this where the content is optimized for execution.RankProfile
RankProfileRegistry. get(ImmutableSearch search, java.lang.String name)
Returns a named rank profile, null if the search definition doesn't have one with the given nameRankProfile
RankProfile. getInherited()
Returns the inherited rank profile, or null if there is noneMethods in com.yahoo.searchdefinition that return types with arguments of type RankProfile Modifier and Type Method Description java.util.Set<RankProfile>
RankProfileRegistry. all()
Rank profiles that are collected across clusters.java.util.Collection<RankProfile>
RankProfileRegistry. rankProfilesOf(ImmutableSearch search)
Returns the rank profiles of a given search definition.Methods in com.yahoo.searchdefinition with parameters of type RankProfile Modifier and Type Method Description void
RankProfileRegistry. add(RankProfile rankProfile)
Adds a rank profile to this registry -
Uses of RankProfile in com.yahoo.searchdefinition.derived
Constructors in com.yahoo.searchdefinition.derived with parameters of type RankProfile 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 -
Uses of RankProfile in com.yahoo.searchdefinition.expressiontransforms
Methods in com.yahoo.searchdefinition.expressiontransforms that return RankProfile Modifier and Type Method Description RankProfile
RankProfileTransformContext. rankProfile()
Constructors in com.yahoo.searchdefinition.expressiontransforms with parameters of type RankProfile Constructor Description RankProfileTransformContext(RankProfile rankProfile, com.yahoo.search.query.profile.QueryProfileRegistry queryProfiles, java.util.Map<com.yahoo.searchlib.rankingexpression.Reference,com.yahoo.tensor.TensorType> featureTypes, ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModels importedModels, java.util.Map<java.lang.String,com.yahoo.searchlib.rankingexpression.evaluation.Value> constants, java.util.Map<java.lang.String,RankProfile.RankingExpressionFunction> inlineFunctions)
-
Uses of RankProfile in com.yahoo.searchdefinition.parser
Methods in com.yahoo.searchdefinition.parser with parameters of type RankProfile Modifier and Type Method Description void
SDParser. constants(RankProfile profile)
Consumes a set of constants available in ranking expressions in the enclosing profile.void
SDParser. constantTensor(RankProfile profile, java.lang.String name)
void
SDParser. constantValue(RankProfile profile, java.lang.String name)
void
SDParser. fieldRankFilter(RankProfile profile)
This rule consumes a rank filter statement of a rank profile.void
SDParser. fieldRankType(RankProfile profile)
This rule consumes a rank-type statement of a rank profile.void
SDParser. fieldWeight(RankProfile profile)
This rule consumes a field-weight statement of a rank profile.void
SDParser. firstPhase(RankProfile profile)
Consumes the first-phase block of a rank profile.java.lang.Object
SDParser. firstPhaseItem(RankProfile profile)
void
SDParser. function(RankProfile profile)
This rule consumes a function statement of a rank-profile.void
SDParser. ignoreRankFeatures(RankProfile profile)
This rule consumes a ignore-default-rank-features statement for a rank profile.void
SDParser. inheritsRankProfile(RankProfile profile)
This rule consumes an inherits statement of a rank-profile.void
SDParser. matchPhase(RankProfile profile)
This rule consumes a match-phase block of a rank profile.void
SDParser. minHitsPerThread(RankProfile profile)
This rule consumes a min-hits-per-thread statement for a rank profile.void
SDParser. numSearchPartitions(RankProfile profile)
This rule consumes a num-search-partitions statement for a rank profile.void
SDParser. numThreadsPerSearch(RankProfile profile)
This rule consumes a num-threads-per-search statement for a rank profile.java.lang.Object
SDParser. rankDegradation(RankProfile profile)
This rule consumes a rank-degradation statement of a rank profile.java.lang.Object
SDParser. rankFeatures(RankProfile profile)
This rule consumes a rank-features block of a rank profile.java.lang.Object
SDParser. rankProfileItem(RankProfile profile)
This rule consumes a single statement for a rank-profile block.void
SDParser. rankProperties(RankProfile profile)
This rule consumes a rank-properties block of a rank profile.void
SDParser. rankProperty(RankProfile profile)
This rule consumes a single rank property pair for a rank profile.void
SDParser. secondPhase(RankProfile profile)
Consumes the second-phase block of a rank profile.java.lang.Object
SDParser. secondPhaseItem(RankProfile profile)
Consumes a statement for a second-phase block.java.lang.Object
SDParser. summaryFeatures(RankProfile profile)
This rule consumes a summary-features block of a rank profile.void
SDParser. termwiseLimit(RankProfile profile)
This rule consumes a num-threads-per-search statement for a rank profile. -
Uses of RankProfile in com.yahoo.vespa.model.ml
Methods in com.yahoo.vespa.model.ml with parameters of type RankProfile Modifier and Type Method Description static ConvertedModel
ConvertedModel. fromSource(ModelName modelName, java.lang.String modelDescription, RankProfile rankProfile, com.yahoo.search.query.profile.QueryProfileRegistry queryProfileRegistry, ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModel importedModel)
static ConvertedModel
ConvertedModel. fromStore(ModelName modelName, java.lang.String modelDescription, RankProfile rankProfile)
-