summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition/processing/TensorTransformTestCase.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-11-26 15:00:16 +0100
committerJon Bratseth <bratseth@oath.com>2018-11-26 15:00:16 +0100
commite3c64c48445d85054292b6fe90c3347d5ec327f2 (patch)
tree9c4f8509699a74ec614633159d1eb3171482d456 /config-model/src/test/java/com/yahoo/searchdefinition/processing/TensorTransformTestCase.java
parent04cc3c48130b8397c04335948e5971914b2eaf22 (diff)
Model the config model view of model-integration
This is to make it clearer that these methods are part of the config model API.
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/processing/TensorTransformTestCase.java')
-rw-r--r--config-model/src/test/java/com/yahoo/searchdefinition/processing/TensorTransformTestCase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/processing/TensorTransformTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/processing/TensorTransformTestCase.java
index dc5ad8524b5..fe1d722a49c 100644
--- a/config-model/src/test/java/com/yahoo/searchdefinition/processing/TensorTransformTestCase.java
+++ b/config-model/src/test/java/com/yahoo/searchdefinition/processing/TensorTransformTestCase.java
@@ -17,7 +17,7 @@ import com.yahoo.searchdefinition.SearchDefinitionTestCase;
import com.yahoo.searchdefinition.derived.AttributeFields;
import com.yahoo.searchdefinition.derived.RawRankProfile;
import com.yahoo.searchdefinition.parser.ParseException;
-import ai.vespa.rankingexpression.importer.ImportedModels;
+import com.yahoo.config.model.api.ImportedMlModels;
import org.junit.Test;
import java.util.List;
@@ -200,10 +200,10 @@ public class TensorTransformTestCase extends SearchDefinitionTestCase {
"}\n");
builder.build(true, new BaseDeployLogger());
Search s = builder.getSearch();
- RankProfile test = rankProfileRegistry.get(s, "test").compile(queryProfiles, new ImportedModels());
+ RankProfile test = rankProfileRegistry.get(s, "test").compile(queryProfiles, new ImportedMlModels());
List<Pair<String, String>> testRankProperties = new RawRankProfile(test,
queryProfiles,
- new ImportedModels(),
+ new ImportedMlModels(),
new AttributeFields(s)).configProperties();
return testRankProperties;
}