summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-08-24 18:39:36 +0200
committerJon Bratseth <bratseth@oath.com>2018-08-24 18:39:36 +0200
commit35e957f09c4018c2e1bab70da2e632130b0b43e6 (patch)
treeccc5414c93737c7b4ca3cd4362043ca65d9d12e3 /container-search
parent0c1bd91225452980d79f7a9a38d1e5fa5aba8644 (diff)
Generate a global rank profile config
This makes available to all regular container clusters a config containing a set of rank profiles containing the expressions resulting from converting all the ml models added in the models/ directory in the application package.
Diffstat (limited to 'container-search')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileRegistry.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileRegistry.java b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileRegistry.java
index 8acd1ec4248..0363b50815b 100644
--- a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileRegistry.java
+++ b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileRegistry.java
@@ -16,9 +16,6 @@ public class QueryProfileRegistry extends ComponentRegistry<QueryProfile> {
private QueryProfileTypeRegistry queryProfileTypeRegistry = new QueryProfileTypeRegistry();
- /** The current default instance of this registry */
- private static QueryProfileRegistry instance = new QueryProfileRegistry();
-
/** Register this type by its id */
public void register(QueryProfile profile) {
super.register(profile.getId(), profile);