summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2021-11-26 14:23:38 +0000
committerArne H Juul <arnej@yahooinc.com>2021-11-29 08:27:55 +0000
commitbe53a36451d1d1620ed6ee330d0f1d24e16ecba4 (patch)
tree8d829d079e31778a7976891c718898c8de452459 /document
parent4c62a49b63530a557661c37db5e7e494486db41a (diff)
add possible flag
Diffstat (limited to 'document')
-rw-r--r--document/abi-spec.json2
-rw-r--r--document/src/vespa/document/config/documentmanager.def3
-rw-r--r--document/src/vespa/document/config/documenttypes.def3
3 files changed, 8 insertions, 0 deletions
diff --git a/document/abi-spec.json b/document/abi-spec.json
index 39a93b2b2cb..2994b404137 100644
--- a/document/abi-spec.json
+++ b/document/abi-spec.json
@@ -613,6 +613,7 @@
"public void <init>()",
"public void <init>(com.yahoo.document.DocumenttypesConfig)",
"public com.yahoo.document.DocumenttypesConfig$Builder enablecompression(boolean)",
+ "public com.yahoo.document.DocumenttypesConfig$Builder usev8geopositions(boolean)",
"public com.yahoo.document.DocumenttypesConfig$Builder documenttype(com.yahoo.document.DocumenttypesConfig$Documenttype$Builder)",
"public com.yahoo.document.DocumenttypesConfig$Builder documenttype(java.util.List)",
"public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance$Producer)",
@@ -1423,6 +1424,7 @@
"public static java.lang.String getDefVersion()",
"public void <init>(com.yahoo.document.DocumenttypesConfig$Builder)",
"public boolean enablecompression()",
+ "public boolean usev8geopositions()",
"public java.util.List documenttype()",
"public com.yahoo.document.DocumenttypesConfig$Documenttype documenttype(int)"
],
diff --git a/document/src/vespa/document/config/documentmanager.def b/document/src/vespa/document/config/documentmanager.def
index aec24db1282..6d4b12207bd 100644
--- a/document/src/vespa/document/config/documentmanager.def
+++ b/document/src/vespa/document/config/documentmanager.def
@@ -5,6 +5,9 @@ namespace=document.config
## Whether to enable compression in this process.
enablecompression bool default=false
+## Prefer "Vespa 8" format for the "position" type
+usev8geopositions bool default=false
+
## The Id of the datatype. Must be unique, including not
## overlapping with the internal datatypes (defined in datatype.h)
datatype[].id int
diff --git a/document/src/vespa/document/config/documenttypes.def b/document/src/vespa/document/config/documenttypes.def
index 6c453cc9814..7c84919e0d6 100644
--- a/document/src/vespa/document/config/documenttypes.def
+++ b/document/src/vespa/document/config/documenttypes.def
@@ -5,6 +5,9 @@ namespace=document
## Whether to enable compression in this process.
enablecompression bool default=false
+## Prefer "Vespa 8" format for the "position" type
+usev8geopositions bool default=false
+
## The Id of the documenttype. Must be unique among all document types.
documenttype[].id int