summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/map_attribute/test.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/derived/map_attribute/test.sd')
-rw-r--r--config-model/src/test/derived/map_attribute/test.sd19
1 files changed, 19 insertions, 0 deletions
diff --git a/config-model/src/test/derived/map_attribute/test.sd b/config-model/src/test/derived/map_attribute/test.sd
new file mode 100644
index 00000000000..da31f575396
--- /dev/null
+++ b/config-model/src/test/derived/map_attribute/test.sd
@@ -0,0 +1,19 @@
+search test {
+ document test {
+ field str_map type map<string, string> {
+ indexing: summary
+ struct-field key {
+ indexing: attribute
+ }
+ struct-field value {
+ indexing: attribute
+ }
+ }
+ field int_map type map<int, int> {
+ indexing: summary
+ struct-field key {
+ indexing: attribute
+ }
+ }
+ }
+}