Class RankProfileTransformContext


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

      • RankProfileTransformContext

        public RankProfileTransformContext​(RankProfile rankProfile,
                                           com.yahoo.search.query.profile.QueryProfileRegistry queryProfiles,
                                           Map<com.yahoo.searchlib.rankingexpression.Reference,​com.yahoo.tensor.TensorType> featureTypes,
                                           ai.vespa.rankingexpression.importer.configmodelview.ImportedMlModels importedModels,
                                           Map<String,​com.yahoo.searchlib.rankingexpression.evaluation.Value> constants,
                                           Map<String,​RankProfile.RankingExpressionFunction> inlineFunctions)
    • Method Detail

      • queryProfiles

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

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