summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java
index e555000272d..53be827073c 100644
--- a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java
+++ b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java
@@ -2,7 +2,7 @@
package com.yahoo.search.query.profile;
import com.yahoo.collections.Pair;
-import com.yahoo.language.process.Encoder;
+import com.yahoo.language.process.Embedder;
import com.yahoo.processing.IllegalInputException;
import com.yahoo.processing.request.CompoundName;
import com.yahoo.processing.request.properties.PropertyMap;
@@ -30,7 +30,7 @@ import java.util.Map;
public class QueryProfileProperties extends Properties {
private final CompiledQueryProfile profile;
- private final Encoder encoder;
+ private final Embedder embedder;
// Note: The priority order is: values has precedence over references
@@ -45,14 +45,14 @@ public class QueryProfileProperties extends Properties {
private List<Pair<CompoundName, CompiledQueryProfile>> references = null;
public QueryProfileProperties(CompiledQueryProfile profile) {
- this(profile, Encoder.throwsOnUse);
+ this(profile, Embedder.throwsOnUse);
}
/** Creates an instance from a profile, throws an exception if the given profile is null */
- public QueryProfileProperties(CompiledQueryProfile profile, Encoder encoder) {
+ public QueryProfileProperties(CompiledQueryProfile profile, Embedder embedder) {
Validator.ensureNotNull("The profile wrapped by this cannot be null", profile);
this.profile = profile;
- this.encoder = encoder;
+ this.embedder = embedder;
}
/** Returns the query profile backing this, or null if none */
@@ -122,7 +122,7 @@ public class QueryProfileProperties extends Properties {
if (fieldDescription != null) {
if (i == name.size() - 1) { // at the end of the path, check the assignment type
value = fieldDescription.getType().convertFrom(value, new ConversionContext(profile.getRegistry(),
- encoder,
+ embedder,
context));
if (value == null)
throw new IllegalInputException("'" + value + "' is not a " +