aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/annotationspolymorphy
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
commit72231250ed81e10d66bfe70701e64fa5fe50f712 (patch)
tree2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /config-model/src/test/derived/annotationspolymorphy
Publish
Diffstat (limited to 'config-model/src/test/derived/annotationspolymorphy')
-rw-r--r--config-model/src/test/derived/annotationspolymorphy/annotationspolymorphy.sd15
-rwxr-xr-xconfig-model/src/test/derived/annotationspolymorphy/documentmanager.cfg58
-rwxr-xr-xconfig-model/src/test/derived/annotationspolymorphy/index-info.cfg9
3 files changed, 82 insertions, 0 deletions
diff --git a/config-model/src/test/derived/annotationspolymorphy/annotationspolymorphy.sd b/config-model/src/test/derived/annotationspolymorphy/annotationspolymorphy.sd
new file mode 100644
index 00000000000..64fd62bc58b
--- /dev/null
+++ b/config-model/src/test/derived/annotationspolymorphy/annotationspolymorphy.sd
@@ -0,0 +1,15 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search annotationspolymorphy {
+
+ document annotationspolymorphy {
+
+ annotation super {
+ }
+ annotation sub inherits super {
+ }
+ annotation blah {
+ field a type annotationreference<super> {}
+ }
+
+ }
+}
diff --git a/config-model/src/test/derived/annotationspolymorphy/documentmanager.cfg b/config-model/src/test/derived/annotationspolymorphy/documentmanager.cfg
new file mode 100755
index 00000000000..d612a3b168b
--- /dev/null
+++ b/config-model/src/test/derived/annotationspolymorphy/documentmanager.cfg
@@ -0,0 +1,58 @@
+enablecompression false
+datatype[0].id 1381038251
+datatype[0].structtype[0].name "position"
+datatype[0].structtype[0].version 0
+datatype[0].structtype[0].compresstype NONE
+datatype[0].structtype[0].compresslevel 0
+datatype[0].structtype[0].compressthreshold 95
+datatype[0].structtype[0].compressminsize 800
+datatype[0].structtype[0].field[0].name "x"
+datatype[0].structtype[0].field[0].datatype 0
+datatype[0].structtype[0].field[1].name "y"
+datatype[0].structtype[0].field[1].datatype 0
+datatype[1].id -2014701853
+datatype[1].annotationreftype[0].annotation "super"
+datatype[2].id -888007918
+datatype[2].structtype[0].name "annotation.blah"
+datatype[2].structtype[0].version 0
+datatype[2].structtype[0].compresstype NONE
+datatype[2].structtype[0].compresslevel 0
+datatype[2].structtype[0].compressthreshold 95
+datatype[2].structtype[0].compressminsize 800
+datatype[2].structtype[0].field[0].name "a"
+datatype[2].structtype[0].field[0].datatype -2014701853
+datatype[3].id -1552577796
+datatype[3].structtype[0].name "annotationspolymorphy.header"
+datatype[3].structtype[0].version 0
+datatype[3].structtype[0].compresstype NONE
+datatype[3].structtype[0].compresslevel 0
+datatype[3].structtype[0].compressthreshold 95
+datatype[3].structtype[0].compressminsize 800
+datatype[3].structtype[0].field[0].name "rankfeatures"
+datatype[3].structtype[0].field[0].datatype 2
+datatype[3].structtype[0].field[1].name "summaryfeatures"
+datatype[3].structtype[0].field[1].datatype 2
+datatype[4].id -570750959
+datatype[4].structtype[0].name "annotationspolymorphy.body"
+datatype[4].structtype[0].version 0
+datatype[4].structtype[0].compresstype NONE
+datatype[4].structtype[0].compresslevel 0
+datatype[4].structtype[0].compressthreshold 95
+datatype[4].structtype[0].compressminsize 800
+datatype[5].id -1383624989
+datatype[5].documenttype[0].name "annotationspolymorphy"
+datatype[5].documenttype[0].version 0
+datatype[5].documenttype[0].inherits[0].name "document"
+datatype[5].documenttype[0].inherits[0].version 0
+datatype[5].documenttype[0].headerstruct -1552577796
+datatype[5].documenttype[0].bodystruct -570750959
+annotationtype[0].id 668095690
+annotationtype[0].name "super"
+annotationtype[0].datatype -1
+annotationtype[1].id 119710016
+annotationtype[1].name "sub"
+annotationtype[1].datatype -1
+annotationtype[1].inherits[0].id 668095690
+annotationtype[2].id -1793776935
+annotationtype[2].name "blah"
+annotationtype[2].datatype -888007918
diff --git a/config-model/src/test/derived/annotationspolymorphy/index-info.cfg b/config-model/src/test/derived/annotationspolymorphy/index-info.cfg
new file mode 100755
index 00000000000..67e43f8036f
--- /dev/null
+++ b/config-model/src/test/derived/annotationspolymorphy/index-info.cfg
@@ -0,0 +1,9 @@
+indexinfo[0].name "annotationspolymorphy"
+indexinfo[0].command[0].indexname "sddocname"
+indexinfo[0].command[0].command "index"
+indexinfo[0].command[1].indexname "sddocname"
+indexinfo[0].command[1].command "word"
+indexinfo[0].command[2].indexname "rankfeatures"
+indexinfo[0].command[2].command "index"
+indexinfo[0].command[3].indexname "summaryfeatures"
+indexinfo[0].command[3].command "index" \ No newline at end of file