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/indexinfo_fieldsets |
Publish
Diffstat (limited to 'config-model/src/test/derived/indexinfo_fieldsets')
-rw-r--r-- | config-model/src/test/derived/indexinfo_fieldsets/index-info.cfg | 74 | ||||
-rw-r--r-- | config-model/src/test/derived/indexinfo_fieldsets/indexinfo_fieldsets.sd | 50 |
2 files changed, 124 insertions, 0 deletions
diff --git a/config-model/src/test/derived/indexinfo_fieldsets/index-info.cfg b/config-model/src/test/derived/indexinfo_fieldsets/index-info.cfg new file mode 100644 index 00000000000..34dbb7d5e5b --- /dev/null +++ b/config-model/src/test/derived/indexinfo_fieldsets/index-info.cfg @@ -0,0 +1,74 @@ +indexinfo[].name "indexinfo_fieldsets" +indexinfo[].command[].indexname "sddocname" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "sddocname" +indexinfo[].command[].command "word" + +indexinfo[].command[].indexname "nostemming1" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "nostemming1" +indexinfo[].command[].command "lowercase" +indexinfo[].command[].indexname "nostemming1" +indexinfo[].command[].command "normalize" + +indexinfo[].command[].indexname "nostemming2" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "nostemming2" +indexinfo[].command[].command "lowercase" +indexinfo[].command[].indexname "nostemming2" +indexinfo[].command[].command "normalize" + +indexinfo[].command[].indexname "nonormalizing1" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "nonormalizing1" +indexinfo[].command[].command "lowercase" +indexinfo[].command[].indexname "nonormalizing1" +indexinfo[].command[].command "stem:SHORTEST" + +indexinfo[].command[].indexname "nonormalizing2" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "nonormalizing2" +indexinfo[].command[].command "lowercase" +indexinfo[].command[].indexname "nonormalizing2" +indexinfo[].command[].command "stem:SHORTEST" + +indexinfo[].command[].indexname "exact1" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "exact1" +indexinfo[].command[].command "lowercase" +indexinfo[].command[].indexname "exact1" +indexinfo[].command[].command "exact @@" + +indexinfo[].command[].indexname "exact2" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "exact2" +indexinfo[].command[].command "lowercase" +indexinfo[].command[].indexname "exact2" +indexinfo[].command[].command "exact @@" + +indexinfo[].command[].indexname "rankfeatures" +indexinfo[].command[].command "index" + +indexinfo[].command[].indexname "summaryfeatures" +indexinfo[].command[].command "index" + +indexinfo[].command[].indexname "nostemming" +indexinfo[].command[].command "lowercase" +indexinfo[].command[].indexname "nostemming" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "nostemming" +indexinfo[].command[].command "normalize" + +indexinfo[].command[].indexname "nonormalizing" +indexinfo[].command[].command "lowercase" +indexinfo[].command[].indexname "nonormalizing" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "nonormalizing" +indexinfo[].command[].command "stem:SHORTEST" + +indexinfo[].command[].indexname "exact" +indexinfo[].command[].command "lowercase" +indexinfo[].command[].indexname "exact" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "exact" +indexinfo[].command[].command "exact @@" diff --git a/config-model/src/test/derived/indexinfo_fieldsets/indexinfo_fieldsets.sd b/config-model/src/test/derived/indexinfo_fieldsets/indexinfo_fieldsets.sd new file mode 100644 index 00000000000..449a5d0a02e --- /dev/null +++ b/config-model/src/test/derived/indexinfo_fieldsets/indexinfo_fieldsets.sd @@ -0,0 +1,50 @@ +# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +search indexinfo_fieldsets { + + document indexinfo_fieldsets { + + field nostemming1 type string { + indexing: summary | index + stemming: none + } + + field nostemming2 type string { + indexing: summary | index + stemming: none + } + + field nonormalizing1 type string { + indexing: summary | index + normalizing: none + } + + field nonormalizing2 type string { + indexing: summary | index + normalizing: none + } + + field exact1 type string { + indexing: summary | index + match: exact + } + + field exact2 type string { + indexing: summary | index + match: exact + } + + } + + fieldset nostemming { + fields: nostemming1, nostemming2 + } + + fieldset nonormalizing { + fields: nonormalizing1, nonormalizing2 + } + + fieldset exact { + fields: exact1, exact2 + } + +} |