summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2018-10-11 15:50:18 +0200
committerTor Egge <Tor.Egge@broadpark.no>2018-10-11 15:50:18 +0200
commit9b552144ffbbed2ceaf4655825f85259942cc8e6 (patch)
treeb73e13a42f0117181a07ded96617026268666cee /config-model
parent37d9d431b6d687279402da0f93775f2803aeceae (diff)
Add expected index-info for map/array of struct.
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/test/derived/array_of_struct_attribute/index-info.cfg25
-rw-r--r--config-model/src/test/derived/map_attribute/index-info.cfg37
-rw-r--r--config-model/src/test/derived/map_of_struct_attribute/index-info.cfg53
3 files changed, 115 insertions, 0 deletions
diff --git a/config-model/src/test/derived/array_of_struct_attribute/index-info.cfg b/config-model/src/test/derived/array_of_struct_attribute/index-info.cfg
new file mode 100644
index 00000000000..d2989f44e04
--- /dev/null
+++ b/config-model/src/test/derived/array_of_struct_attribute/index-info.cfg
@@ -0,0 +1,25 @@
+indexinfo[0].name "test"
+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 "elem_array.name"
+indexinfo[0].command[2].command "index"
+indexinfo[0].command[3].indexname "elem_array.name"
+indexinfo[0].command[3].command "attribute"
+indexinfo[0].command[4].indexname "elem_array.name"
+indexinfo[0].command[4].command "fast-search"
+indexinfo[0].command[5].indexname "elem_array.weight"
+indexinfo[0].command[5].command "index"
+indexinfo[0].command[6].indexname "elem_array.weight"
+indexinfo[0].command[6].command "attribute"
+indexinfo[0].command[7].indexname "elem_array.weight"
+indexinfo[0].command[7].command "numerical"
+indexinfo[0].command[8].indexname "elem_array"
+indexinfo[0].command[8].command "index"
+indexinfo[0].command[9].indexname "elem_array"
+indexinfo[0].command[9].command "multivalue"
+indexinfo[0].command[10].indexname "rankfeatures"
+indexinfo[0].command[10].command "index"
+indexinfo[0].command[11].indexname "summaryfeatures"
+indexinfo[0].command[11].command "index" \ No newline at end of file
diff --git a/config-model/src/test/derived/map_attribute/index-info.cfg b/config-model/src/test/derived/map_attribute/index-info.cfg
new file mode 100644
index 00000000000..8d9f6a2a36f
--- /dev/null
+++ b/config-model/src/test/derived/map_attribute/index-info.cfg
@@ -0,0 +1,37 @@
+indexinfo[0].name "test"
+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 "str_map.key"
+indexinfo[0].command[2].command "index"
+indexinfo[0].command[3].indexname "str_map.key"
+indexinfo[0].command[3].command "attribute"
+indexinfo[0].command[4].indexname "str_map.key"
+indexinfo[0].command[4].command "fast-search"
+indexinfo[0].command[5].indexname "str_map.value"
+indexinfo[0].command[5].command "index"
+indexinfo[0].command[6].indexname "str_map.value"
+indexinfo[0].command[6].command "attribute"
+indexinfo[0].command[7].indexname "str_map"
+indexinfo[0].command[7].command "index"
+indexinfo[0].command[8].indexname "str_map"
+indexinfo[0].command[8].command "multivalue"
+indexinfo[0].command[9].indexname "int_map.key"
+indexinfo[0].command[9].command "index"
+indexinfo[0].command[10].indexname "int_map.key"
+indexinfo[0].command[10].command "attribute"
+indexinfo[0].command[11].indexname "int_map.key"
+indexinfo[0].command[11].command "numerical"
+indexinfo[0].command[12].indexname "int_map.value"
+indexinfo[0].command[12].command "index"
+indexinfo[0].command[13].indexname "int_map.value"
+indexinfo[0].command[13].command "numerical"
+indexinfo[0].command[14].indexname "int_map"
+indexinfo[0].command[14].command "index"
+indexinfo[0].command[15].indexname "int_map"
+indexinfo[0].command[15].command "multivalue"
+indexinfo[0].command[16].indexname "rankfeatures"
+indexinfo[0].command[16].command "index"
+indexinfo[0].command[17].indexname "summaryfeatures"
+indexinfo[0].command[17].command "index" \ No newline at end of file
diff --git a/config-model/src/test/derived/map_of_struct_attribute/index-info.cfg b/config-model/src/test/derived/map_of_struct_attribute/index-info.cfg
new file mode 100644
index 00000000000..55de436716c
--- /dev/null
+++ b/config-model/src/test/derived/map_of_struct_attribute/index-info.cfg
@@ -0,0 +1,53 @@
+indexinfo[0].name "test"
+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 "str_elem_map.key"
+indexinfo[0].command[2].command "index"
+indexinfo[0].command[3].indexname "str_elem_map.key"
+indexinfo[0].command[3].command "attribute"
+indexinfo[0].command[4].indexname "str_elem_map.key"
+indexinfo[0].command[4].command "fast-search"
+indexinfo[0].command[5].indexname "str_elem_map.value.name"
+indexinfo[0].command[5].command "index"
+indexinfo[0].command[6].indexname "str_elem_map.value.name"
+indexinfo[0].command[6].command "attribute"
+indexinfo[0].command[7].indexname "str_elem_map.value.weight"
+indexinfo[0].command[7].command "index"
+indexinfo[0].command[8].indexname "str_elem_map.value.weight"
+indexinfo[0].command[8].command "attribute"
+indexinfo[0].command[9].indexname "str_elem_map.value.weight"
+indexinfo[0].command[9].command "numerical"
+indexinfo[0].command[10].indexname "str_elem_map.value"
+indexinfo[0].command[10].command "index"
+indexinfo[0].command[11].indexname "str_elem_map"
+indexinfo[0].command[11].command "index"
+indexinfo[0].command[12].indexname "str_elem_map"
+indexinfo[0].command[12].command "multivalue"
+indexinfo[0].command[13].indexname "int_elem_map.key"
+indexinfo[0].command[13].command "index"
+indexinfo[0].command[14].indexname "int_elem_map.key"
+indexinfo[0].command[14].command "attribute"
+indexinfo[0].command[15].indexname "int_elem_map.key"
+indexinfo[0].command[15].command "numerical"
+indexinfo[0].command[16].indexname "int_elem_map.value.name"
+indexinfo[0].command[16].command "index"
+indexinfo[0].command[17].indexname "int_elem_map.value.name"
+indexinfo[0].command[17].command "attribute"
+indexinfo[0].command[18].indexname "int_elem_map.value.name"
+indexinfo[0].command[18].command "fast-search"
+indexinfo[0].command[19].indexname "int_elem_map.value.weight"
+indexinfo[0].command[19].command "index"
+indexinfo[0].command[20].indexname "int_elem_map.value.weight"
+indexinfo[0].command[20].command "numerical"
+indexinfo[0].command[21].indexname "int_elem_map.value"
+indexinfo[0].command[21].command "index"
+indexinfo[0].command[22].indexname "int_elem_map"
+indexinfo[0].command[22].command "index"
+indexinfo[0].command[23].indexname "int_elem_map"
+indexinfo[0].command[23].command "multivalue"
+indexinfo[0].command[24].indexname "rankfeatures"
+indexinfo[0].command[24].command "index"
+indexinfo[0].command[25].indexname "summaryfeatures"
+indexinfo[0].command[25].command "index" \ No newline at end of file