aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query/profile/config/QueryProfileXMLReader.java
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-10-30 16:31:38 +0200
committerGitHub <noreply@github.com>2021-10-30 16:31:38 +0200
commit1da6754a571bb380cc32d77b7aa76fe5ebaa24b0 (patch)
tree127022f9f9fe999f2db5666312d19d2be39ece82 /container-search/src/main/java/com/yahoo/search/query/profile/config/QueryProfileXMLReader.java
parentd8970d73872e5386f36aaa73e2dc6b0e881069bf (diff)
parentc702f4874ea9f0cb263a3e54471eef5bb1c71d8c (diff)
Merge pull request #19792 from vespa-engine/bratseth/stable-query-profile-idsv7.492.78
Bratseth/stable query profile ids
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/config/QueryProfileXMLReader.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/profile/config/QueryProfileXMLReader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/config/QueryProfileXMLReader.java b/container-search/src/main/java/com/yahoo/search/query/profile/config/QueryProfileXMLReader.java
index 555d3a8e6b7..c94987ce88e 100644
--- a/container-search/src/main/java/com/yahoo/search/query/profile/config/QueryProfileXMLReader.java
+++ b/container-search/src/main/java/com/yahoo/search/query/profile/config/QueryProfileXMLReader.java
@@ -135,7 +135,7 @@ public class QueryProfileXMLReader {
ComponentId id = new ComponentId(idString);
validateFileNameToId(reader.getName(), id, "query profile");
- QueryProfile queryProfile = new QueryProfile(id, reader.getName());
+ QueryProfile queryProfile = new QueryProfile(id, reader.getName(), registry);
String typeId = root.getAttribute("type");
if (typeId != null && ! typeId.equals("")) {
QueryProfileType type = registry.getType(typeId);