aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/IndexModel.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/IndexModel.java')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/IndexModel.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/IndexModel.java b/container-search/src/main/java/com/yahoo/prelude/IndexModel.java
index d2950078868..dd2bd1ee2f1 100644
--- a/container-search/src/main/java/com/yahoo/prelude/IndexModel.java
+++ b/container-search/src/main/java/com/yahoo/prelude/IndexModel.java
@@ -39,8 +39,10 @@ public final class IndexModel {
/**
* Use IndexModel as a pure wrapper for the parameters given.
+ *
+ * @deprecated use the constructor without the third parameter
*/
- // TODO: Deprecate on Vespa 7 and remove on Vespa 8
+ @Deprecated // TODO: Remove Vespa 8
public IndexModel(Map<String, List<String>> masterClusters,
Map<String, SearchDefinition> searchDefinitions,
SearchDefinition unionSearchDefinition) {
@@ -90,7 +92,6 @@ public final class IndexModel {
IndexInfoConfig.Indexinfo.Command command = j.next();
sd.addCommand(command.indexname(),command.command());
}
- sd.fillMatchGroups();
searchDefinitions.put(info.name(), sd);
}
@@ -127,7 +128,6 @@ public final class IndexModel {
}
}
- union.fillMatchGroups();
return union;
}
@@ -135,7 +135,8 @@ public final class IndexModel {
public Map<String, SearchDefinition> getSearchDefinitions() { return searchDefinitions; }
- // TODO: Deprecate on Vespa 7 and make package scope on Vespa 8
+ /** @deprecated do not use */
+ @Deprecated // TODO: Remove on Vespa 8
public SearchDefinition getUnionSearchDefinition() { return unionSearchDefinition; }
}