summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2021-12-08 10:25:17 +0000
committerArne H Juul <arnej@yahooinc.com>2021-12-08 10:25:17 +0000
commitda777eeec6805c32c0a878dafd1d65d6f50f0ad2 (patch)
treebc00b3c18a6a2476d317a7f8415d2a4afe1f93fa /document
parent4ef348880477867094275f5e409907b8874405d5 (diff)
minor changed to proposed new config:
* use names for primitive types, not internal id * avoid specifying internal id for annotation types when possible
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/config/documentmanager.def7
1 files changed, 3 insertions, 4 deletions
diff --git a/document/src/vespa/document/config/documentmanager.def b/document/src/vespa/document/config/documentmanager.def
index fb4aa08b449..ec19ba8d802 100644
--- a/document/src/vespa/document/config/documentmanager.def
+++ b/document/src/vespa/document/config/documentmanager.def
@@ -151,9 +151,8 @@ doctype[].importedfield[].name string
## Index of primitive type
doctype[].primitivetype[].idx int
-## An internal ID for this primitive type
-doctype[].primitivetype[].internalid int
-
+## The name of this primitive type
+doctype[].primitivetype[].name string
# Arrays are the simplest collection type:
@@ -225,7 +224,7 @@ doctype[].annotationtype[].name string
# Could we somehow avoid this?
## Internal id of this annotation type
-doctype[].annotationtype[].internalid int
+doctype[].annotationtype[].internalid int default=-1
## Index of contained datatype of the annotation type, if any
doctype[].annotationtype[].datatype int default=-1