diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
commit | 72231250ed81e10d66bfe70701e64fa5fe50f712 (patch) | |
tree | 2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /config-model/src/test/derived/exactmatch |
Publish
Diffstat (limited to 'config-model/src/test/derived/exactmatch')
3 files changed, 48 insertions, 0 deletions
diff --git a/config-model/src/test/derived/exactmatch/exactmatch.sd b/config-model/src/test/derived/exactmatch/exactmatch.sd new file mode 100644 index 00000000000..9eaea3654a7 --- /dev/null +++ b/config-model/src/test/derived/exactmatch/exactmatch.sd @@ -0,0 +1,21 @@ +# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +search exactmatch { + + document exactmatch { + + field tag type string { + indexing: summary | index + match: exact + } + + field screweduserids type string { + indexing: index | summary | attribute + match { + exact + exact-terminator: "*!!!*" + } + } + + } + +} diff --git a/config-model/src/test/derived/exactmatch/ilscripts.cfg b/config-model/src/test/derived/exactmatch/ilscripts.cfg new file mode 100644 index 00000000000..c3ecab6d3a9 --- /dev/null +++ b/config-model/src/test/derived/exactmatch/ilscripts.cfg @@ -0,0 +1,6 @@ +maxtermoccurrences 100 +ilscript[0].doctype "exactmatch" +ilscript[0].docfield[0] "tag" +ilscript[0].docfield[1] "screweduserids" +ilscript[0].content[0] "clear_state | guard { input tag | exact | summary tag | index tag; }" +ilscript[0].content[1] "clear_state | guard { input screweduserids | exact | index screweduserids | summary screweduserids | attribute screweduserids; }"
\ No newline at end of file diff --git a/config-model/src/test/derived/exactmatch/index-info.cfg b/config-model/src/test/derived/exactmatch/index-info.cfg new file mode 100644 index 00000000000..aeece43832d --- /dev/null +++ b/config-model/src/test/derived/exactmatch/index-info.cfg @@ -0,0 +1,21 @@ +indexinfo[0].name "exactmatch" +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 "tag" +indexinfo[0].command[2].command "index" +indexinfo[0].command[3].indexname "tag" +indexinfo[0].command[3].command "lowercase" +indexinfo[0].command[4].indexname "tag" +indexinfo[0].command[4].command "exact @@" +indexinfo[0].command[5].indexname "screweduserids" +indexinfo[0].command[5].command "index" +indexinfo[0].command[6].indexname "screweduserids" +indexinfo[0].command[6].command "lowercase" +indexinfo[0].command[7].indexname "screweduserids" +indexinfo[0].command[7].command "exact *!!!*" +indexinfo[0].command[8].indexname "rankfeatures" +indexinfo[0].command[8].command "index" +indexinfo[0].command[9].indexname "summaryfeatures" +indexinfo[0].command[9].command "index"
\ No newline at end of file |