From e67760622daa2a26290a4d6f05f5ec73a9a827da Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Thu, 21 Oct 2021 17:24:21 +0200 Subject: Control attribute maxuncommittedmemory with feature flag --- .../yahoo/config/model/deploy/TestProperties.java | 7 +++++ .../searchdefinition/derived/AttributeFields.java | 13 +++++--- .../derived/DerivedConfiguration.java | 14 ++++++++- .../yahoo/vespa/model/search/DocumentDatabase.java | 3 +- .../yahoo/vespa/model/search/SearchCluster.java | 2 +- .../vespa/model/search/StreamingSearchCluster.java | 4 +-- .../src/test/derived/advanced/attributes.cfg | 2 +- .../array_of_struct_attribute/attributes.cfg | 4 +-- .../test/derived/attributeprefetch/attributes.cfg | 36 +++++++++++----------- .../src/test/derived/attributes/attributes.cfg | 36 +++++++++++----------- .../src/test/derived/complex/attributes.cfg | 18 +++++------ .../src/test/derived/hnsw_index/attributes.cfg | 4 +-- .../attributes.cfg | 8 ++--- .../derived/imported_position_field/attributes.cfg | 4 +-- .../derived/imported_struct_fields/attributes.cfg | 16 +++++----- .../src/test/derived/importedfields/attributes.cfg | 16 +++++----- .../src/test/derived/inheritance/attributes.cfg | 6 ++-- .../test/derived/inheritfromparent/attributes.cfg | 2 +- .../src/test/derived/map_attribute/attributes.cfg | 6 ++-- .../derived/map_of_struct_attribute/attributes.cfg | 10 +++--- config-model/src/test/derived/music/attributes.cfg | 22 ++++++------- .../src/test/derived/newrank/attributes.cfg | 20 ++++++------ .../derived/predicate_attribute/attributes.cfg | 2 +- .../derived/prefixexactattribute/attributes.cfg | 4 +-- .../test/derived/reference_fields/attributes.cfg | 6 ++-- .../test/derived/schemainheritance/attributes.cfg | 10 +++--- .../src/test/derived/sorting/attributes.cfg | 6 ++-- .../src/test/derived/tensor/attributes.cfg | 10 +++--- config-model/src/test/derived/types/attributes.cfg | 26 ++++++++-------- .../AttributeSettingsTestCase.java | 18 ++++++++++- .../processing/DictionaryTestCase.java | 2 +- .../search/test/DocumentDatabaseTestCase.java | 31 ++++++++++++++----- 32 files changed, 213 insertions(+), 155 deletions(-) (limited to 'config-model') diff --git a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java index 68f7b0cc4ec..7a09a36c1d7 100644 --- a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java +++ b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java @@ -67,6 +67,7 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea private double containerShutdownTimeout = 50.0; private int distributorMergeBusyWait = 10; private int docstoreCompressionLevel = 9; + private int maxUnCommittedMemory = 123456; private double diskBloatFactor = 0.2; private boolean distributorEnhancedMaintenanceScheduling = false; @@ -118,6 +119,12 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea @Override public double diskBloatFactor() { return diskBloatFactor; } @Override public int docstoreCompressionLevel() { return docstoreCompressionLevel; } @Override public boolean distributorEnhancedMaintenanceScheduling() { return distributorEnhancedMaintenanceScheduling; } + @Override public int maxUnCommittedMemory() { return maxUnCommittedMemory; } + + public TestProperties maxUnCommittedMemory(int maxUnCommittedMemory) { + this.maxUnCommittedMemory = maxUnCommittedMemory; + return this; + } public TestProperties docstoreCompressionLevel(int docstoreCompressionLevel) { this.docstoreCompressionLevel = docstoreCompressionLevel; diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/derived/AttributeFields.java b/config-model/src/main/java/com/yahoo/searchdefinition/derived/AttributeFields.java index 67ed37800f9..2890f1cc019 100644 --- a/config-model/src/main/java/com/yahoo/searchdefinition/derived/AttributeFields.java +++ b/config-model/src/main/java/com/yahoo/searchdefinition/derived/AttributeFields.java @@ -190,7 +190,8 @@ public class AttributeFields extends Derived implements AttributesConfig.Produce @Override public void getConfig(AttributesConfig.Builder builder) { - getConfig(builder, FieldSet.ALL); + //TODO This is just to get some exporting tests to work, Should be undone and removed + getConfig(builder, FieldSet.ALL, 77777); } private boolean isAttributeInFieldSet(Attribute attribute, FieldSet fs) { @@ -295,15 +296,19 @@ public class AttributeFields extends Derived implements AttributesConfig.Produce return AttributesConfig.Attribute.Match.UNCASED; } - public void getConfig(AttributesConfig.Builder builder, FieldSet fs) { + public void getConfig(AttributesConfig.Builder builder, FieldSet fs, long maxUnCommittedMemory) { for (Attribute attribute : attributes.values()) { if (isAttributeInFieldSet(attribute, fs)) { - builder.attribute(getConfig(attribute.getName(), attribute, false)); + AttributesConfig.Attribute.Builder attrBuilder = getConfig(attribute.getName(), attribute, false); + attrBuilder.maxuncommittedmemory(maxUnCommittedMemory); + builder.attribute(attrBuilder); } } if (fs == FieldSet.ALL) { for (Map.Entry entry : importedAttributes.entrySet()) { - builder.attribute(getConfig(entry.getKey(), entry.getValue(), true)); + AttributesConfig.Attribute.Builder attrBuilder = getConfig(entry.getKey(), entry.getValue(), true); + attrBuilder.maxuncommittedmemory(maxUnCommittedMemory); + builder.attribute(attrBuilder); } } } diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/derived/DerivedConfiguration.java b/config-model/src/main/java/com/yahoo/searchdefinition/derived/DerivedConfiguration.java index 54e9a4ccb61..6165cdd2dc1 100644 --- a/config-model/src/main/java/com/yahoo/searchdefinition/derived/DerivedConfiguration.java +++ b/config-model/src/main/java/com/yahoo/searchdefinition/derived/DerivedConfiguration.java @@ -16,6 +16,7 @@ import com.yahoo.search.query.profile.QueryProfileRegistry; import com.yahoo.searchdefinition.RankProfileRegistry; import com.yahoo.searchdefinition.Schema; import com.yahoo.searchdefinition.derived.validation.Validation; +import com.yahoo.vespa.config.search.AttributesConfig; import com.yahoo.vespa.model.container.search.QueryProfiles; import java.io.IOException; @@ -28,7 +29,7 @@ import java.util.concurrent.ExecutorService; * * @author bratseth */ -public class DerivedConfiguration { +public class DerivedConfiguration implements AttributesConfig.Producer { private final Schema schema; private Summaries summaries; @@ -43,6 +44,7 @@ public class DerivedConfiguration { private IndexSchema indexSchema; private ImportedFields importedFields; private final QueryProfileRegistry queryProfiles; + private final long maxUncommittedMemory; /** * Creates a complete derived configuration from a search definition. @@ -82,6 +84,7 @@ public class DerivedConfiguration { Validator.ensureNotNull("Search definition", schema); this.schema = schema; this.queryProfiles = queryProfiles; + this.maxUncommittedMemory = deployProperties.featureFlags().maxUnCommittedMemory(); if ( ! schema.isDocumentsOnly()) { streamingFields = new VsmFields(schema); streamingSummary = new VsmSummary(schema); @@ -159,6 +162,15 @@ public class DerivedConfiguration { return attributeFields; } + @Override + public void getConfig(AttributesConfig.Builder builder) { + getConfig(builder, AttributeFields.FieldSet.ALL); + } + + public void getConfig(AttributesConfig.Builder builder, AttributeFields.FieldSet fs) { + attributeFields.getConfig(builder, fs, maxUncommittedMemory); + } + public IndexingScript getIndexingScript() { return indexingScript; } diff --git a/config-model/src/main/java/com/yahoo/vespa/model/search/DocumentDatabase.java b/config-model/src/main/java/com/yahoo/vespa/model/search/DocumentDatabase.java index ea445068cb9..cb4cc3e712c 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/search/DocumentDatabase.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/search/DocumentDatabase.java @@ -1,6 +1,7 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.search; +import com.yahoo.config.model.api.ModelContext; import com.yahoo.config.model.producer.AbstractConfigProducer; import com.yahoo.search.config.IndexInfoConfig; import com.yahoo.searchdefinition.derived.DerivedConfiguration; @@ -68,7 +69,7 @@ public class DocumentDatabase extends AbstractConfigProducer i @Override public void getConfig(AttributesConfig.Builder builder) { - derivedCfg.getAttributeFields().getConfig(builder); + derivedCfg.getConfig(builder); } @Override diff --git a/config-model/src/main/java/com/yahoo/vespa/model/search/SearchCluster.java b/config-model/src/main/java/com/yahoo/vespa/model/search/SearchCluster.java index 321aae5acde..b128f391e72 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/search/SearchCluster.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/search/SearchCluster.java @@ -55,7 +55,7 @@ public abstract class SearchCluster extends AbstractSearchCluster @Override public void getConfig(AttributesConfig.Builder builder) { - if (getSdConfig()!=null) getSdConfig().getAttributeFields().getConfig(builder); + if (getSdConfig()!=null) getSdConfig().getConfig(builder); } @Override diff --git a/config-model/src/main/java/com/yahoo/vespa/model/search/StreamingSearchCluster.java b/config-model/src/main/java/com/yahoo/vespa/model/search/StreamingSearchCluster.java index a9f9102c11a..7b328acdc98 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/search/StreamingSearchCluster.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/search/StreamingSearchCluster.java @@ -38,7 +38,7 @@ public class StreamingSearchCluster extends SearchCluster implements @Override public void getConfig(AttributesConfig.Builder builder) { if (getSdConfig() != null) { - getSdConfig().getAttributeFields().getConfig(builder, AttributeFields.FieldSet.FAST_ACCESS); + getSdConfig().getConfig(builder, AttributeFields.FieldSet.FAST_ACCESS); } } } @@ -111,7 +111,7 @@ public class StreamingSearchCluster extends SearchCluster implements @Override public void getConfig(AttributesConfig.Builder builder) { - if (getSdConfig()!=null) getSdConfig().getAttributeFields().getConfig(builder); + if (getSdConfig()!=null) getSdConfig().getConfig(builder); } @Override diff --git a/config-model/src/test/derived/advanced/attributes.cfg b/config-model/src/test/derived/advanced/attributes.cfg index cbdc73df8d7..b241d03cdb2 100644 --- a/config-model/src/test/derived/advanced/attributes.cfg +++ b/config-model/src/test/derived/advanced/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/array_of_struct_attribute/attributes.cfg b/config-model/src/test/derived/array_of_struct_attribute/attributes.cfg index 5ce2cca2290..f61dd7069a1 100644 --- a/config-model/src/test/derived/array_of_struct_attribute/attributes.cfg +++ b/config-model/src/test/derived/array_of_struct_attribute/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/attributeprefetch/attributes.cfg b/config-model/src/test/derived/attributeprefetch/attributes.cfg index d2baf9a8522..b6f37a216a7 100644 --- a/config-model/src/test/derived/attributeprefetch/attributes.cfg +++ b/config-model/src/test/derived/attributeprefetch/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -183,7 +183,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -215,7 +215,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -247,7 +247,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -279,7 +279,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -311,7 +311,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -343,7 +343,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -375,7 +375,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -407,7 +407,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -439,7 +439,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -471,7 +471,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -503,7 +503,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -535,7 +535,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -567,7 +567,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/attributes/attributes.cfg b/config-model/src/test/derived/attributes/attributes.cfg index c7197452d8f..b29f0494fec 100644 --- a/config-model/src/test/derived/attributes/attributes.cfg +++ b/config-model/src/test/derived/attributes/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -183,7 +183,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -215,7 +215,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -247,7 +247,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -279,7 +279,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -311,7 +311,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -343,7 +343,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -375,7 +375,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -407,7 +407,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -439,7 +439,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -471,7 +471,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -503,7 +503,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -535,7 +535,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -567,7 +567,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/complex/attributes.cfg b/config-model/src/test/derived/complex/attributes.cfg index fa9cde32b29..86b6b9ebc13 100644 --- a/config-model/src/test/derived/complex/attributes.cfg +++ b/config-model/src/test/derived/complex/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -183,7 +183,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -215,7 +215,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -247,7 +247,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -279,7 +279,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/hnsw_index/attributes.cfg b/config-model/src/test/derived/hnsw_index/attributes.cfg index 8dc6f83ad32..403f78be2f7 100644 --- a/config-model/src/test/derived/hnsw_index/attributes.cfg +++ b/config-model/src/test/derived/hnsw_index/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "tensor(x[128])" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric ANGULAR attribute[].index.hnsw.enabled true attribute[].index.hnsw.maxlinkspernode 32 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "tensor(x[2])" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric GEODEGREES attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/imported_fields_inherited_reference/attributes.cfg b/config-model/src/test/derived/imported_fields_inherited_reference/attributes.cfg index f6f3b7e5adc..bcf1b101caf 100644 --- a/config-model/src/test/derived/imported_fields_inherited_reference/attributes.cfg +++ b/config-model/src/test/derived/imported_fields_inherited_reference/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/imported_position_field/attributes.cfg b/config-model/src/test/derived/imported_position_field/attributes.cfg index 61a5d7831d5..34219243d14 100644 --- a/config-model/src/test/derived/imported_position_field/attributes.cfg +++ b/config-model/src/test/derived/imported_position_field/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/imported_struct_fields/attributes.cfg b/config-model/src/test/derived/imported_struct_fields/attributes.cfg index 98c24cee92b..c974b46a904 100644 --- a/config-model/src/test/derived/imported_struct_fields/attributes.cfg +++ b/config-model/src/test/derived/imported_struct_fields/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -183,7 +183,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -215,7 +215,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -247,7 +247,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/importedfields/attributes.cfg b/config-model/src/test/derived/importedfields/attributes.cfg index 27600dec0e4..12970887510 100644 --- a/config-model/src/test/derived/importedfields/attributes.cfg +++ b/config-model/src/test/derived/importedfields/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -183,7 +183,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -215,7 +215,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -247,7 +247,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/inheritance/attributes.cfg b/config-model/src/test/derived/inheritance/attributes.cfg index 6f86c1252e2..65514adf543 100644 --- a/config-model/src/test/derived/inheritance/attributes.cfg +++ b/config-model/src/test/derived/inheritance/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/inheritfromparent/attributes.cfg b/config-model/src/test/derived/inheritfromparent/attributes.cfg index 87ef457303f..59e90691421 100644 --- a/config-model/src/test/derived/inheritfromparent/attributes.cfg +++ b/config-model/src/test/derived/inheritfromparent/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/map_attribute/attributes.cfg b/config-model/src/test/derived/map_attribute/attributes.cfg index a0eecacdfe3..4f982ba9ec2 100644 --- a/config-model/src/test/derived/map_attribute/attributes.cfg +++ b/config-model/src/test/derived/map_attribute/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/map_of_struct_attribute/attributes.cfg b/config-model/src/test/derived/map_of_struct_attribute/attributes.cfg index 9c1dde5adf9..27c3794271a 100644 --- a/config-model/src/test/derived/map_of_struct_attribute/attributes.cfg +++ b/config-model/src/test/derived/map_of_struct_attribute/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/music/attributes.cfg b/config-model/src/test/derived/music/attributes.cfg index 5cb0c235a83..5dea7831ec4 100644 --- a/config-model/src/test/derived/music/attributes.cfg +++ b/config-model/src/test/derived/music/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -183,7 +183,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -215,7 +215,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -247,7 +247,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -279,7 +279,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -311,7 +311,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -343,7 +343,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/newrank/attributes.cfg b/config-model/src/test/derived/newrank/attributes.cfg index de4bce62b08..5ba58f3081b 100644 --- a/config-model/src/test/derived/newrank/attributes.cfg +++ b/config-model/src/test/derived/newrank/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -183,7 +183,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -215,7 +215,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -247,7 +247,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -279,7 +279,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -311,7 +311,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/predicate_attribute/attributes.cfg b/config-model/src/test/derived/predicate_attribute/attributes.cfg index a352ef7c09c..513f4320f58 100644 --- a/config-model/src/test/derived/predicate_attribute/attributes.cfg +++ b/config-model/src/test/derived/predicate_attribute/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 200 attribute[].densepostinglistthreshold 0.2 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/prefixexactattribute/attributes.cfg b/config-model/src/test/derived/prefixexactattribute/attributes.cfg index d50ab42c836..7051a228ba3 100644 --- a/config-model/src/test/derived/prefixexactattribute/attributes.cfg +++ b/config-model/src/test/derived/prefixexactattribute/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/reference_fields/attributes.cfg b/config-model/src/test/derived/reference_fields/attributes.cfg index b2a8b0af3ca..e1868700198 100644 --- a/config-model/src/test/derived/reference_fields/attributes.cfg +++ b/config-model/src/test/derived/reference_fields/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/schemainheritance/attributes.cfg b/config-model/src/test/derived/schemainheritance/attributes.cfg index a63f9c52fc3..26bd10a262c 100644 --- a/config-model/src/test/derived/schemainheritance/attributes.cfg +++ b/config-model/src/test/derived/schemainheritance/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported true -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/sorting/attributes.cfg b/config-model/src/test/derived/sorting/attributes.cfg index 7e87bc2cc17..5d44943535f 100644 --- a/config-model/src/test/derived/sorting/attributes.cfg +++ b/config-model/src/test/derived/sorting/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/tensor/attributes.cfg b/config-model/src/test/derived/tensor/attributes.cfg index c2701d4d8fb..8e28044a724 100644 --- a/config-model/src/test/derived/tensor/attributes.cfg +++ b/config-model/src/test/derived/tensor/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "tensor(x[2],y[1])" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "tensor(x{})" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "tensor(x[10],y[10])" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "tensor(x[10])" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/derived/types/attributes.cfg b/config-model/src/test/derived/types/attributes.cfg index efdc2cd0019..37b56481506 100644 --- a/config-model/src/test/derived/types/attributes.cfg +++ b/config-model/src/test/derived/types/attributes.cfg @@ -23,7 +23,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -55,7 +55,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -87,7 +87,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -119,7 +119,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -151,7 +151,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -183,7 +183,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -215,7 +215,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -247,7 +247,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -279,7 +279,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -311,7 +311,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -343,7 +343,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -375,7 +375,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 @@ -407,7 +407,7 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false -attribute[].maxuncommittedmemory 130000 +attribute[].maxuncommittedmemory 77777 attribute[].distancemetric EUCLIDEAN attribute[].index.hnsw.enabled false attribute[].index.hnsw.maxlinkspernode 16 diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java index 22ae06d929a..b891fc97924 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java @@ -206,7 +206,7 @@ public class AttributeSettingsTestCase extends AbstractSchemaTestCase { AttributeFields attributes = new AttributeFields(getSearchWithMutables()); AttributesConfig.Builder builder = new AttributesConfig.Builder(); - attributes.getConfig(builder); + attributes.getConfig(builder, AttributeFields.FieldSet.ALL, 13333); AttributesConfig cfg = builder.build(); assertEquals("a", cfg.attribute().get(0).name()); assertFalse(cfg.attribute().get(0).ismutable()); @@ -216,7 +216,23 @@ public class AttributeSettingsTestCase extends AbstractSchemaTestCase { assertEquals("m", cfg.attribute().get(2).name()); assertTrue(cfg.attribute().get(2).ismutable()); + } + + @Test + public void requireMaxUnCommittedMemoryIsProperlyPropagated() throws ParseException { + AttributeFields attributes = new AttributeFields(getSearchWithMutables()); + AttributesConfig.Builder builder = new AttributesConfig.Builder(); + attributes.getConfig(builder, AttributeFields.FieldSet.ALL, 13333); + AttributesConfig cfg = builder.build(); + assertEquals("a", cfg.attribute().get(0).name()); + assertEquals(13333, cfg.attribute().get(0).maxuncommittedmemory()); + + assertEquals("f", cfg.attribute().get(1).name()); + assertEquals(13333, cfg.attribute().get(1).maxuncommittedmemory()); + + assertEquals("m", cfg.attribute().get(2).name()); + assertEquals(13333, cfg.attribute().get(2).maxuncommittedmemory()); } @Test diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/processing/DictionaryTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/processing/DictionaryTestCase.java index 20ff10cb48e..806b9b3358d 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/processing/DictionaryTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/processing/DictionaryTestCase.java @@ -26,7 +26,7 @@ public class DictionaryTestCase { private static AttributesConfig getConfig(Schema schema) { AttributeFields attributes = new AttributeFields(schema); AttributesConfig.Builder builder = new AttributesConfig.Builder(); - attributes.getConfig(builder); + attributes.getConfig(builder, AttributeFields.FieldSet.ALL, 130000); return builder.build(); } private Schema createSearch(String def) throws ParseException { diff --git a/config-model/src/test/java/com/yahoo/vespa/model/search/test/DocumentDatabaseTestCase.java b/config-model/src/test/java/com/yahoo/vespa/model/search/test/DocumentDatabaseTestCase.java index abd9e7fb8b3..8651e68bd9a 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/search/test/DocumentDatabaseTestCase.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/search/test/DocumentDatabaseTestCase.java @@ -2,7 +2,6 @@ package com.yahoo.vespa.model.search.test; import com.google.common.collect.ImmutableMap; -import com.yahoo.config.model.api.ModelContext; import com.yahoo.config.model.deploy.DeployState; import com.yahoo.config.model.deploy.TestProperties; import com.yahoo.vespa.config.search.IndexschemaConfig; @@ -35,7 +34,7 @@ public class DocumentDatabaseTestCase { private static final double SMALL = 0.00000000000001; - private String vespaHosts = "" + + private static final String vespaHosts = "" + " " + " " + " node0" + @@ -194,7 +193,7 @@ public class DocumentDatabaseTestCase { assertEquals("c", proton.documentdb(2).inputdoctypename()); } - private void verifyInitialDocumentCount(List nameAndModes, String xmlTuning, long global, List local) { + private void verifyInitialDocumentCount(List nameAndModes, String xmlTuning, List local) { assertEquals(nameAndModes.size(), local.size()); VespaModel model = createModel(nameAndModes, xmlTuning); ContentSearchCluster contentSearchCluster = model.getContentClusters().get("test").getSearch(); @@ -209,7 +208,7 @@ public class DocumentDatabaseTestCase { public void requireThatMixedModeInitialDocumentCountIsReflectedCorrectlyForDefault() { final long DEFAULT = 1024L; verifyInitialDocumentCount(Arrays.asList(DocType.create("a", "index"), DocType.create("b", "streaming")), - "", DEFAULT, Arrays.asList(DEFAULT, DEFAULT)); + "", Arrays.asList(DEFAULT, DEFAULT)); } @Test public void requireThatMixedModeInitialDocumentCountIsReflected() { @@ -218,7 +217,7 @@ public class DocumentDatabaseTestCase { " 1000000000" + "\n"; verifyInitialDocumentCount(Arrays.asList(DocType.create("a", "index"), DocType.create("b", "streaming")), - feedTuning, INITIAL, Arrays.asList(INITIAL, INITIAL)); + feedTuning, Arrays.asList(INITIAL, INITIAL)); } private void assertDocTypeConfig(VespaModel model, String configId, String indexField, String attributeField) { @@ -361,12 +360,20 @@ public class DocumentDatabaseTestCase { assertDocumentDBConfigAvailableForStreaming("streaming"); } + private void assertAttributesConfigIndependentOfMode(String mode, List sds, + List documentDBConfigIds, + Map> expectedAttributesMap) + { + assertAttributesConfigIndependentOfMode(mode, sds, documentDBConfigIds, expectedAttributesMap, new DeployState.Builder(), 123456); + } private void assertAttributesConfigIndependentOfMode(String mode, List sds, List documentDBConfigIds, - Map> expectedAttributesMap) { + Map> expectedAttributesMap, + DeployState.Builder builder, + long expectedMaxUnCommittedMemory) { VespaModel model = new VespaModelCreatorWithMockPkg(vespaHosts, createVespaServices(sds, mode), - ApplicationPackageUtils.generateSchemas(sds)).create(); + ApplicationPackageUtils.generateSchemas(sds)).create(builder); ContentSearchCluster contentSearchCluster = model.getContentClusters().get("test").getSearch(); ProtonConfig proton = getProtonCfg(contentSearchCluster); @@ -380,17 +387,27 @@ public class DocumentDatabaseTestCase { assertEquals(expectedAttributes.size(), rac1.attribute().size()); for (int j = 0; j < expectedAttributes.size(); j++) { assertEquals(expectedAttributes.get(j), rac1.attribute(j).name()); + assertEquals(expectedMaxUnCommittedMemory, rac1.attribute(j).maxuncommittedmemory()); } } } } + @Test + public void testThatAttributesMaxUnCommittedMemoryIsControlledByFeatureFlag() { + assertAttributesConfigIndependentOfMode("index", Arrays.asList("type1"), + Arrays.asList("test/search/cluster.test/type1"), + ImmutableMap.of("type1", Arrays.asList("f2", "f2_nfa")), + new DeployState.Builder().properties(new TestProperties().maxUnCommittedMemory(193452)), 193452); + } + @Test public void testThatAttributesConfigIsProducedForIndexed() { assertAttributesConfigIndependentOfMode("index", Arrays.asList("type1"), Arrays.asList("test/search/cluster.test/type1"), ImmutableMap.of("type1", Arrays.asList("f2", "f2_nfa"))); } + @Test public void testThatAttributesConfigIsProducedForStreamingForFastAccessFields() { assertAttributesConfigIndependentOfMode("streaming", Arrays.asList("type1"), -- cgit v1.2.3