summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/IndexModel.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-11-09 11:23:42 +0100
committergjoranv <gv@oath.com>2019-01-21 15:09:25 +0100
commit0dcd154d62ab7d24bb18a83052fec74174badb96 (patch)
tree782512c55e3492ca040b31e94f94b8abe1663d39 /container-search/src/main/java/com/yahoo/prelude/IndexModel.java
parent56bf86189a0ce2562bf54715954945edf94e3f45 (diff)
Do Vespa 7 TODOs
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.java8
1 files changed, 6 insertions, 2 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..08e8612f9e9 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,11 @@ 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
+ // TODO: Remove Vespa 8
+ @Deprecated
public IndexModel(Map<String, List<String>> masterClusters,
Map<String, SearchDefinition> searchDefinitions,
SearchDefinition unionSearchDefinition) {
@@ -135,7 +138,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
public SearchDefinition getUnionSearchDefinition() { return unionSearchDefinition; }
}