summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/Query.java
diff options
context:
space:
mode:
authorLester Solbakken <lesters@oath.com>2022-03-22 11:24:23 +0100
committerLester Solbakken <lesters@oath.com>2022-03-22 11:24:23 +0100
commit252a1ee13cf3b63572f410c6839fcee218979474 (patch)
treecae5f790d7c1918cfff625138ebb4de13f3a03e1 /container-search/src/main/java/com/yahoo/search/Query.java
parent8a64a50ac9f0cbea18f0c1a8e1ef482d3311e873 (diff)
Rename defaultEmbedderName to defaultEmbedderId
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/Query.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/Query.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/Query.java b/container-search/src/main/java/com/yahoo/search/Query.java
index b7a0fcb5dc3..553c73dac17 100644
--- a/container-search/src/main/java/com/yahoo/search/Query.java
+++ b/container-search/src/main/java/com/yahoo/search/Query.java
@@ -1171,7 +1171,7 @@ public class Query extends com.yahoo.processing.Request implements Cloneable {
public CompiledQueryProfile getQueryProfile() { return queryProfile; }
public Builder setEmbedder(Embedder embedder) {
- return setEmbedders(Map.of(Embedder.defaultEmbedderName, embedder));
+ return setEmbedders(Map.of(Embedder.defaultEmbedderId, embedder));
}
public Builder setEmbedders(Map<String, Embedder> embedders) {