diff options
author | Arne H Juul <arnej@yahooinc.com> | 2022-03-09 09:17:25 +0000 |
---|---|---|
committer | Arne H Juul <arnej@yahooinc.com> | 2022-03-09 09:42:57 +0000 |
commit | 9322d0cc71f7b7919f76be2f993c7b9a11158cb8 (patch) | |
tree | bddfdc4bdbc68a542f07d546d86179324cf2a652 /config-model/src/test/derived/matchsettings_map_after/test.sd | |
parent | d0ca7f8add1f42e9ed5d0843468ea28426c35135 (diff) |
add some new tests
Diffstat (limited to 'config-model/src/test/derived/matchsettings_map_after/test.sd')
-rw-r--r-- | config-model/src/test/derived/matchsettings_map_after/test.sd | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/config-model/src/test/derived/matchsettings_map_after/test.sd b/config-model/src/test/derived/matchsettings_map_after/test.sd new file mode 100644 index 00000000000..b35f2af49b7 --- /dev/null +++ b/config-model/src/test/derived/matchsettings_map_after/test.sd @@ -0,0 +1,34 @@ + +# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + +search test { + document test { + + struct elem { + field sf1s type string {} + field sf2i type int {} + } + + field mse4 type map<string,elem> { + indexing: summary + struct-field key { + indexing: index + match { + exact + exact-terminator: "@mse4_key@" + } + } + struct-field value.sf1s { + indexing: index + match { + exact + exact-terminator: "@mse4_value_sf1s@" + } + } + struct-field value.sf2i { + indexing: attribute + } + } + + } +} |