diff options
Diffstat (limited to 'config-model/src/test/derived/matchsettings_map_wfs/test.sd')
-rw-r--r-- | config-model/src/test/derived/matchsettings_map_wfs/test.sd | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/config-model/src/test/derived/matchsettings_map_wfs/test.sd b/config-model/src/test/derived/matchsettings_map_wfs/test.sd new file mode 100644 index 00000000000..12c0c395282 --- /dev/null +++ b/config-model/src/test/derived/matchsettings_map_wfs/test.sd @@ -0,0 +1,72 @@ + +# 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 mss3 type map<string,string> { + indexing: index + struct-field key { + match { + exact + exact-terminator: "@mss3_key@" + } + } + struct-field value { + match { + exact + exact-terminator: "@mss3_value@" + } + } + } + + 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 + } + } + + field mse5 type map<string,elem> { + indexing: summary + struct-field key { + indexing: attribute + attribute: fast-search + match { + exact + exact-terminator: "@mse5_key@" + } + } + struct-field value.sf1s { + indexing: attribute + match { + exact + exact-terminator: "@mse5_value_sf1s@" + } + } + struct-field value.sf2i { + indexing: attribute + } + } + + } +} |