diff options
Diffstat (limited to 'config-model/src/test')
3 files changed, 81 insertions, 0 deletions
diff --git a/config-model/src/test/derived/exactmatch/exactmatch.sd b/config-model/src/test/derived/exactmatch/exactmatch.sd index d5104fbf36d..2f1d54c970a 100644 --- a/config-model/src/test/derived/exactmatch/exactmatch.sd +++ b/config-model/src/test/derived/exactmatch/exactmatch.sd @@ -3,6 +3,11 @@ search exactmatch { document exactmatch { + struct elem { + field name type string {} + field weight type int {} + } + field tag type string { indexing: summary | index match: exact @@ -16,6 +21,32 @@ search exactmatch { } } + field string_map type map<string, string> { + indexing: summary + struct-field key { + indexing: attribute + match { + exact + exact-terminator: "*!!!*" + } + } + } + + field elem_map type map<string, elem> { + indexing: summary + struct-field value.name { + indexing: attribute + match: exact + } + } + + field elem_array type array<elem> { + indexing: summary + struct-field name { + indexing: attribute + match: exact + } + } } } diff --git a/config-model/src/test/derived/exactmatch/ilscripts.cfg b/config-model/src/test/derived/exactmatch/ilscripts.cfg index 38c0978474f..5595f954c4a 100644 --- a/config-model/src/test/derived/exactmatch/ilscripts.cfg +++ b/config-model/src/test/derived/exactmatch/ilscripts.cfg @@ -3,5 +3,11 @@ fieldmatchmaxlength 1000000 ilscript[].doctype "exactmatch" ilscript[].docfield[] "tag" ilscript[].docfield[] "screweduserids" +ilscript[].docfield[] "string_map" +ilscript[].docfield[] "elem_map" +ilscript[].docfield[] "elem_array" ilscript[].content[] "clear_state | guard { input tag | exact | summary tag | index tag; }" ilscript[].content[] "clear_state | guard { input screweduserids | exact | index screweduserids | summary screweduserids | attribute screweduserids; }" +ilscript[].content[] "input elem_array | passthrough elem_array" +ilscript[].content[] "input elem_map | passthrough elem_map" +ilscript[].content[] "input string_map | passthrough string_map" diff --git a/config-model/src/test/derived/exactmatch/index-info.cfg b/config-model/src/test/derived/exactmatch/index-info.cfg index a17ff68642e..a4a193b1fcd 100644 --- a/config-model/src/test/derived/exactmatch/index-info.cfg +++ b/config-model/src/test/derived/exactmatch/index-info.cfg @@ -15,3 +15,47 @@ indexinfo[].command[].indexname "screweduserids" indexinfo[].command[].command "lowercase" indexinfo[].command[].indexname "screweduserids" indexinfo[].command[].command "exact *!!!*" +indexinfo[].command[].indexname "string_map.key" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "string_map.key" +indexinfo[].command[].command "attribute" +indexinfo[].command[].indexname "string_map.key" +indexinfo[].command[].command "exact *!!!*" +indexinfo[].command[].indexname "string_map.value" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "string_map" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "string_map" +indexinfo[].command[].command "multivalue" +indexinfo[].command[].indexname "elem_map.key" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "elem_map.value.name" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "elem_map.value.name" +indexinfo[].command[].command "attribute" +indexinfo[].command[].indexname "elem_map.value.name" +indexinfo[].command[].command "exact @@" +indexinfo[].command[].indexname "elem_map.value.weight" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "elem_map.value.weight" +indexinfo[].command[].command "numerical" +indexinfo[].command[].indexname "elem_map.value" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "elem_map" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "elem_map" +indexinfo[].command[].command "multivalue" +indexinfo[].command[].indexname "elem_array.name" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "elem_array.name" +indexinfo[].command[].command "attribute" +indexinfo[].command[].indexname "elem_array.name" +indexinfo[].command[].command "exact @@" +indexinfo[].command[].indexname "elem_array.weight" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "elem_array.weight" +indexinfo[].command[].command "numerical" +indexinfo[].command[].indexname "elem_array" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "elem_array" +indexinfo[].command[].command "multivalue" |