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/emptydefault |
Publish
Diffstat (limited to 'config-model/src/test/derived/emptydefault')
8 files changed, 116 insertions, 0 deletions
diff --git a/config-model/src/test/derived/emptydefault/attributes.cfg b/config-model/src/test/derived/emptydefault/attributes.cfg new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/config-model/src/test/derived/emptydefault/attributes.cfg diff --git a/config-model/src/test/derived/emptydefault/documentmanager.cfg b/config-model/src/test/derived/emptydefault/documentmanager.cfg new file mode 100644 index 00000000000..4235199342a --- /dev/null +++ b/config-model/src/test/derived/emptydefault/documentmanager.cfg @@ -0,0 +1,43 @@ +enablecompression false +datatype[0].id 1381038251 +datatype[0].structtype[0].name "position" +datatype[0].structtype[0].version 0 +datatype[0].structtype[0].compresstype NONE +datatype[0].structtype[0].compresslevel 0 +datatype[0].structtype[0].compressthreshold 95 +datatype[0].structtype[0].compressminsize 800 +datatype[0].structtype[0].field[0].name "x" +datatype[0].structtype[0].field[0].datatype 0 +datatype[0].structtype[0].field[1].name "y" +datatype[0].structtype[0].field[1].datatype 0 +datatype[1].id 461724009 +datatype[1].structtype[0].name "emptydefault.header" +datatype[1].structtype[0].version 0 +datatype[1].structtype[0].compresstype NONE +datatype[1].structtype[0].compresslevel 0 +datatype[1].structtype[0].compressthreshold 95 +datatype[1].structtype[0].compressminsize 800 +datatype[1].structtype[0].field[0].name "one" +datatype[1].structtype[0].field[0].datatype 2 +datatype[1].structtype[0].field[1].name "two" +datatype[1].structtype[0].field[1].datatype 2 +datatype[1].structtype[0].field[2].name "rankfeatures" +datatype[1].structtype[0].field[2].datatype 2 +datatype[1].structtype[0].field[3].name "summaryfeatures" +datatype[1].structtype[0].field[3].datatype 2 +datatype[2].id 311791038 +datatype[2].structtype[0].name "emptydefault.body" +datatype[2].structtype[0].version 0 +datatype[2].structtype[0].compresstype NONE +datatype[2].structtype[0].compresslevel 0 +datatype[2].structtype[0].compressthreshold 95 +datatype[2].structtype[0].compressminsize 800 +datatype[3].id -1663995626 +datatype[3].documenttype[0].name "emptydefault" +datatype[3].documenttype[0].version 0 +datatype[3].documenttype[0].inherits[0].name "document" +datatype[3].documenttype[0].inherits[0].version 0 +datatype[3].documenttype[0].headerstruct 461724009 +datatype[3].documenttype[0].bodystruct 311791038 +datatype[3].documenttype[0].fieldsets{[document]}.fields[0] "one" +datatype[3].documenttype[0].fieldsets{[document]}.fields[1] "two" diff --git a/config-model/src/test/derived/emptydefault/emptydefault.sd b/config-model/src/test/derived/emptydefault/emptydefault.sd new file mode 100644 index 00000000000..14c83003079 --- /dev/null +++ b/config-model/src/test/derived/emptydefault/emptydefault.sd @@ -0,0 +1,16 @@ +# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +search emptydefault { + + document emptydefault { + + field one type string { + indexing: index + } + + field two type string { + indexing: index + } + + } + +} diff --git a/config-model/src/test/derived/emptydefault/ilscripts.cfg b/config-model/src/test/derived/emptydefault/ilscripts.cfg new file mode 100644 index 00000000000..b28b5ade17f --- /dev/null +++ b/config-model/src/test/derived/emptydefault/ilscripts.cfg @@ -0,0 +1,6 @@ +maxtermoccurrences 100 +ilscript[0].doctype "emptydefault" +ilscript[0].docfield[0] "one" +ilscript[0].docfield[1] "two" +ilscript[0].content[0] "clear_state | guard { input one | tokenize normalize stem:\"SHORTEST\" | index one; }" +ilscript[0].content[1] "clear_state | guard { input two | tokenize normalize stem:\"SHORTEST\" | index two; }"
\ No newline at end of file diff --git a/config-model/src/test/derived/emptydefault/index-info.cfg b/config-model/src/test/derived/emptydefault/index-info.cfg new file mode 100644 index 00000000000..0ec9439e13b --- /dev/null +++ b/config-model/src/test/derived/emptydefault/index-info.cfg @@ -0,0 +1,25 @@ +indexinfo[0].name "emptydefault" +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 "one" +indexinfo[0].command[2].command "index" +indexinfo[0].command[3].indexname "one" +indexinfo[0].command[3].command "lowercase" +indexinfo[0].command[4].indexname "one" +indexinfo[0].command[4].command "stem:SHORTEST" +indexinfo[0].command[5].indexname "one" +indexinfo[0].command[5].command "normalize" +indexinfo[0].command[6].indexname "two" +indexinfo[0].command[6].command "index" +indexinfo[0].command[7].indexname "two" +indexinfo[0].command[7].command "lowercase" +indexinfo[0].command[8].indexname "two" +indexinfo[0].command[8].command "stem:SHORTEST" +indexinfo[0].command[9].indexname "two" +indexinfo[0].command[9].command "normalize" +indexinfo[0].command[10].indexname "rankfeatures" +indexinfo[0].command[10].command "index" +indexinfo[0].command[11].indexname "summaryfeatures" +indexinfo[0].command[11].command "index"
\ No newline at end of file diff --git a/config-model/src/test/derived/emptydefault/rank-profiles.cfg b/config-model/src/test/derived/emptydefault/rank-profiles.cfg new file mode 100644 index 00000000000..caca83a9a91 --- /dev/null +++ b/config-model/src/test/derived/emptydefault/rank-profiles.cfg @@ -0,0 +1,10 @@ +rankprofile[0].name "default" +rankprofile[1].name "unranked" +rankprofile[1].fef.property[0].name "vespa.rank.firstphase" +rankprofile[1].fef.property[0].value "value(0)" +rankprofile[1].fef.property[1].name "vespa.hitcollector.heapsize" +rankprofile[1].fef.property[1].value "0" +rankprofile[1].fef.property[2].name "vespa.hitcollector.arraysize" +rankprofile[1].fef.property[2].value "0" +rankprofile[1].fef.property[3].name "vespa.dump.ignoredefaultfeatures" +rankprofile[1].fef.property[3].value "true"
\ No newline at end of file diff --git a/config-model/src/test/derived/emptydefault/summary.cfg b/config-model/src/test/derived/emptydefault/summary.cfg new file mode 100644 index 00000000000..788f02babfc --- /dev/null +++ b/config-model/src/test/derived/emptydefault/summary.cfg @@ -0,0 +1,9 @@ +defaultsummaryid 1151071433 +classes[0].id 1151071433 +classes[0].name "default" +classes[0].fields[0].name "rankfeatures" +classes[0].fields[0].type "featuredata" +classes[0].fields[1].name "summaryfeatures" +classes[0].fields[1].type "featuredata" +classes[0].fields[2].name "documentid" +classes[0].fields[2].type "longstring"
\ No newline at end of file diff --git a/config-model/src/test/derived/emptydefault/summarymap.cfg b/config-model/src/test/derived/emptydefault/summarymap.cfg new file mode 100644 index 00000000000..42b6e811ee6 --- /dev/null +++ b/config-model/src/test/derived/emptydefault/summarymap.cfg @@ -0,0 +1,7 @@ +defaultoutputclass -1 +override[0].field "rankfeatures" +override[0].command "rankfeatures" +override[0].arguments "" +override[1].field "summaryfeatures" +override[1].command "summaryfeatures" +override[1].arguments ""
\ No newline at end of file |