summaryrefslogtreecommitdiffstats
path: root/configserver
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2020-03-03 11:22:44 +0100
committerGitHub <noreply@github.com>2020-03-03 11:22:44 +0100
commitc72315a338a02858c8371d3d70fe091c43b672dd (patch)
tree5714c8f461732ab5d31e06906f9b007a102d2d25 /configserver
parentcb3c3cc2520f380f2f818ed5a24f1414683102ea (diff)
Revert "Bratseth/phrase segmenting feature flag"
Diffstat (limited to 'configserver')
-rw-r--r--configserver/src/main/java/com/yahoo/vespa/config/server/deploy/ModelContextImpl.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/deploy/ModelContextImpl.java b/configserver/src/main/java/com/yahoo/vespa/config/server/deploy/ModelContextImpl.java
index a15b570a55d..829a59a9598 100644
--- a/configserver/src/main/java/com/yahoo/vespa/config/server/deploy/ModelContextImpl.java
+++ b/configserver/src/main/java/com/yahoo/vespa/config/server/deploy/ModelContextImpl.java
@@ -135,7 +135,6 @@ public class ModelContextImpl implements ModelContext {
private final double defaultTermwiseLimit;
private final boolean useBucketSpaceMetric;
private final boolean useNewAthenzFilter;
- private final boolean usePhraseSegmenting;
public Properties(ApplicationId applicationId,
boolean multitenantFromConfig,
@@ -170,8 +169,6 @@ public class ModelContextImpl implements ModelContext {
.with(FetchVector.Dimension.APPLICATION_ID, applicationId.serializedForm()).value();
this.useNewAthenzFilter = Flags.USE_NEW_ATHENZ_FILTER.bindTo(flagSource)
.with(FetchVector.Dimension.APPLICATION_ID, applicationId.serializedForm()).value();
- this.usePhraseSegmenting = Flags.PHRASE_SEGMENTING.bindTo(flagSource)
- .with(FetchVector.Dimension.APPLICATION_ID, applicationId.serializedForm()).value();
}
@Override
@@ -226,12 +223,7 @@ public class ModelContextImpl implements ModelContext {
@Override
public boolean useBucketSpaceMetric() { return useBucketSpaceMetric; }
- @Override
- public boolean useNewAthenzFilter() { return useNewAthenzFilter; }
-
- @Override
- public boolean usePhraseSegmenting() { return usePhraseSegmenting; }
-
+ @Override public boolean useNewAthenzFilter() { return useNewAthenzFilter; }
}
}