summaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-10-21 10:37:13 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-10-21 10:48:47 +0000
commit54f5454cdb112e458aea3b5296199b7531f487d2 (patch)
treecf27d043d2c865e231c90a08784229881d54e9f8 /configdefinitions
parent9abe019606f2367b05e4e13d796de65dddf7c449 (diff)
If the uncommitted changes pass 128k for an attribute force a commit.
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/attributes.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/attributes.def b/configdefinitions/src/vespa/attributes.def
index 0fdb3b2489f..676c890d1a7 100644
--- a/configdefinitions/src/vespa/attributes.def
+++ b/configdefinitions/src/vespa/attributes.def
@@ -35,6 +35,9 @@ attribute[].tensortype string default=""
# Whether this is an imported attribute (from parent document db) or not.
attribute[].imported bool default=false
+# Max amount of uncommitted memory during feed. (Default just shy of 128k)
+attribute[].maxuncommittedmemory long default=130000
+
# The distance metric to use for nearest neighbor search.
# Is only used when the attribute is a 1-dimensional indexed tensor.
attribute[].distancemetric enum { EUCLIDEAN, ANGULAR, GEODEGREES, INNERPRODUCT, HAMMING } default=EUCLIDEAN