Class RankProfileTransformContext


  • public class RankProfileTransformContext
    extends com.yahoo.searchlib.rankingexpression.transform.TransformContext
    Extends the transform context with rank profile information
    Author:
    bratseth
    • Constructor Summary

      Constructors 
      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)  
    • Constructor Detail

      • RankProfileTransformContext

        public 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)
    • Method Detail

      • queryProfiles

        public com.yahoo.search.query.profile.QueryProfileRegistry queryProfiles()
      • importedModels

        public ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModels importedModels()
      • rankProperties

        public java.util.Map<java.lang.String,​java.lang.String> rankProperties()