summaryrefslogtreecommitdiffstats
path: root/config-model/src/main
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2023-12-21 09:20:33 +0100
committerGitHub <noreply@github.com>2023-12-21 09:20:33 +0100
commitd73a4b8daaffd30c78d3894a73e5b2eb79af06af (patch)
tree3ffd24d87ed6fd9b27d1dee5ed434337ea408639 /config-model/src/main
parent5672549b814fbf1ba6d3d33bc5a1e5870e86241b (diff)
parent2a0917434a615448b8351cede2dc5b6e69e9dde4 (diff)
Merge pull request #29726 from vespa-engine/balder/minor-cleanup-after-reading-code
Balder/minor cleanup after reading code
Diffstat (limited to 'config-model/src/main')
-rw-r--r--config-model/src/main/java/com/yahoo/schema/derived/RawRankProfile.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/derived/RawRankProfile.java b/config-model/src/main/java/com/yahoo/schema/derived/RawRankProfile.java
index a99fa8b7710..33a363312d6 100644
--- a/config-model/src/main/java/com/yahoo/schema/derived/RawRankProfile.java
+++ b/config-model/src/main/java/com/yahoo/schema/derived/RawRankProfile.java
@@ -172,9 +172,6 @@ public class RawRankProfile implements RankProfilesConfig.Producer {
private final double rankScoreDropLimit;
private final boolean sortBlueprintsByCost;
private final boolean alwaysMarkPhraseExpensive;
- private final boolean createPostinglistWhenNonStrict;
- private final boolean useEstimateForFetchPostings;
- private final boolean useThreadBundleForFetchPostings;
/**
* The rank type definitions used to derive settings for the native rank features
@@ -218,9 +215,6 @@ public class RawRankProfile implements RankProfilesConfig.Producer {
termwiseLimit = compiled.getTermwiseLimit().orElse(deployProperties.featureFlags().defaultTermwiseLimit());
sortBlueprintsByCost = deployProperties.featureFlags().sortBlueprintsByCost();
alwaysMarkPhraseExpensive = deployProperties.featureFlags().alwaysMarkPhraseExpensive();
- createPostinglistWhenNonStrict = deployProperties.featureFlags().createPostinglistWhenNonStrict();
- useEstimateForFetchPostings = deployProperties.featureFlags().useEstimateForFetchPostings();
- useThreadBundleForFetchPostings = deployProperties.featureFlags().useThreadBundleForFetchPostings();
postFilterThreshold = compiled.getPostFilterThreshold();
approximateThreshold = compiled.getApproximateThreshold();
targetHitsMaxAdjustmentFactor = compiled.getTargetHitsMaxAdjustmentFactor();
@@ -477,15 +471,6 @@ public class RawRankProfile implements RankProfilesConfig.Producer {
if (alwaysMarkPhraseExpensive) {
properties.add(new Pair<>("vespa.matching.always_mark_phrase_expensive", String.valueOf(alwaysMarkPhraseExpensive)));
}
- if ( ! createPostinglistWhenNonStrict) {
- properties.add(new Pair<>("vespa.matching.create_postinglist_when_non_strict", String.valueOf(createPostinglistWhenNonStrict)));
- }
- if (useEstimateForFetchPostings) {
- properties.add(new Pair<>("vespa.matching.use_estimate_for_fetch_postings", String.valueOf(useEstimateForFetchPostings)));
- }
- if (useThreadBundleForFetchPostings) {
- properties.add(new Pair<>("vespa.matching.use_thread_bundle_for_fetch_postings", String.valueOf(useThreadBundleForFetchPostings)));
- }
if (postFilterThreshold.isPresent()) {
properties.add(new Pair<>("vespa.matching.global_filter.upper_limit", String.valueOf(postFilterThreshold.getAsDouble())));
}