diff options
Diffstat (limited to 'config-model/src/test')
8 files changed, 97 insertions, 3 deletions
diff --git a/config-model/src/test/derived/types/attributes.cfg b/config-model/src/test/derived/types/attributes.cfg index cf3fcebfbcd..e6ffc37e871 100644 --- a/config-model/src/test/derived/types/attributes.cfg +++ b/config-model/src/test/derived/types/attributes.cfg @@ -40,6 +40,48 @@ attribute[].upperbound 9223372036854775807 attribute[].densepostinglistthreshold 0.4 attribute[].tensortype "" attribute[].imported false +attribute[].name "abool" +attribute[].datatype BOOL +attribute[].collectiontype SINGLE +attribute[].removeifzero false +attribute[].createifnonexistent false +attribute[].fastsearch false +attribute[].huge false +attribute[].ismutable false +attribute[].sortascending true +attribute[].sortfunction UCA +attribute[].sortstrength PRIMARY +attribute[].sortlocale "" +attribute[].enablebitvectors false +attribute[].enableonlybitvector false +attribute[].fastaccess false +attribute[].arity 8 +attribute[].lowerbound -9223372036854775808 +attribute[].upperbound 9223372036854775807 +attribute[].densepostinglistthreshold 0.4 +attribute[].tensortype "" +attribute[].imported false +attribute[].name "ashortfloat" +attribute[].datatype FLOAT16 +attribute[].collectiontype SINGLE +attribute[].removeifzero false +attribute[].createifnonexistent false +attribute[].fastsearch false +attribute[].huge false +attribute[].ismutable false +attribute[].sortascending true +attribute[].sortfunction UCA +attribute[].sortstrength PRIMARY +attribute[].sortlocale "" +attribute[].enablebitvectors false +attribute[].enableonlybitvector false +attribute[].fastaccess false +attribute[].arity 8 +attribute[].lowerbound -9223372036854775808 +attribute[].upperbound 9223372036854775807 +attribute[].densepostinglistthreshold 0.4 +attribute[].tensortype "" +attribute[].imported false attribute[].name "arrayfield" attribute[].datatype INT32 attribute[].collectiontype ARRAY diff --git a/config-model/src/test/derived/types/documentmanager.cfg b/config-model/src/test/derived/types/documentmanager.cfg index 647c26e1316..0644659cae7 100644 --- a/config-model/src/test/derived/types/documentmanager.cfg +++ b/config-model/src/test/derived/types/documentmanager.cfg @@ -131,6 +131,12 @@ datatype[].structtype[].field[].detailedtype "" datatype[].structtype[].field[].name "along" datatype[].structtype[].field[].datatype 4 datatype[].structtype[].field[].detailedtype "" +datatype[].structtype[].field[].name "abool" +datatype[].structtype[].field[].datatype 6 +datatype[].structtype[].field[].detailedtype "" +datatype[].structtype[].field[].name "ashortfloat" +datatype[].structtype[].field[].datatype 7 +datatype[].structtype[].field[].detailedtype "" datatype[].structtype[].field[].name "arrayfield" datatype[].structtype[].field[].datatype -1245117006 datatype[].structtype[].field[].detailedtype "" @@ -232,6 +238,7 @@ datatype[].documenttype[].inherits[].version 0 datatype[].documenttype[].headerstruct 1328581348 datatype[].documenttype[].bodystruct 348447225 datatype[].documenttype[].fieldsets{[document]}.fields[] "Folders" +datatype[].documenttype[].fieldsets{[document]}.fields[] "abool" datatype[].documenttype[].fieldsets{[document]}.fields[] "abyte" datatype[].documenttype[].fieldsets{[document]}.fields[] "album0" datatype[].documenttype[].fieldsets{[document]}.fields[] "album1" @@ -239,6 +246,7 @@ datatype[].documenttype[].fieldsets{[document]}.fields[] "along" datatype[].documenttype[].fieldsets{[document]}.fields[] "arrarr" datatype[].documenttype[].fieldsets{[document]}.fields[] "arrayfield" datatype[].documenttype[].fieldsets{[document]}.fields[] "arraymapfield" +datatype[].documenttype[].fieldsets{[document]}.fields[] "ashortfloat" datatype[].documenttype[].fieldsets{[document]}.fields[] "complexarray" datatype[].documenttype[].fieldsets{[document]}.fields[] "doublemapfield" datatype[].documenttype[].fieldsets{[document]}.fields[] "floatmapfield" diff --git a/config-model/src/test/derived/types/ilscripts.cfg b/config-model/src/test/derived/types/ilscripts.cfg index 92ca728cea7..3bcdd16e3d6 100644 --- a/config-model/src/test/derived/types/ilscripts.cfg +++ b/config-model/src/test/derived/types/ilscripts.cfg @@ -3,6 +3,8 @@ fieldmatchmaxlength 1000000 ilscript[].doctype "types" ilscript[].docfield[] "abyte" ilscript[].docfield[] "along" +ilscript[].docfield[] "abool" +ilscript[].docfield[] "ashortfloat" ilscript[].docfield[] "arrayfield" ilscript[].docfield[] "setfield" ilscript[].docfield[] "setfield2" @@ -30,6 +32,8 @@ ilscript[].docfield[] "complexarray" ilscript[].content[] "clear_state | guard { input along | attribute other; }" ilscript[].content[] "clear_state | guard { input abyte | summary abyte | attribute abyte; }" ilscript[].content[] "clear_state | guard { input along | summary along | attribute along; }" +ilscript[].content[] "clear_state | guard { input abool | summary abool | attribute abool; }" +ilscript[].content[] "clear_state | guard { input ashortfloat | summary ashortfloat | attribute ashortfloat; }" ilscript[].content[] "clear_state | guard { input arrayfield | attribute arrayfield; }" ilscript[].content[] "clear_state | guard { input setfield | attribute setfield; }" ilscript[].content[] "clear_state | guard { input setfield2 | attribute setfield2; }" diff --git a/config-model/src/test/derived/types/index-info.cfg b/config-model/src/test/derived/types/index-info.cfg index 32375dc09f4..576a95de06f 100644 --- a/config-model/src/test/derived/types/index-info.cfg +++ b/config-model/src/test/derived/types/index-info.cfg @@ -15,6 +15,18 @@ indexinfo[].command[].indexname "along" indexinfo[].command[].command "attribute" indexinfo[].command[].indexname "along" indexinfo[].command[].command "numerical" +indexinfo[].command[].indexname "abool" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "abool" +indexinfo[].command[].command "attribute" +indexinfo[].command[].indexname "abool" +indexinfo[].command[].command "word" +indexinfo[].command[].indexname "ashortfloat" +indexinfo[].command[].command "index" +indexinfo[].command[].indexname "ashortfloat" +indexinfo[].command[].command "attribute" +indexinfo[].command[].indexname "ashortfloat" +indexinfo[].command[].command "numerical" indexinfo[].command[].indexname "arrayfield" indexinfo[].command[].command "index" indexinfo[].command[].indexname "arrayfield" diff --git a/config-model/src/test/derived/types/summary.cfg b/config-model/src/test/derived/types/summary.cfg index 3a73185b325..e5485a24c8c 100644 --- a/config-model/src/test/derived/types/summary.cfg +++ b/config-model/src/test/derived/types/summary.cfg @@ -1,10 +1,14 @@ -defaultsummaryid 1103008471 -classes[].id 1103008471 +defaultsummaryid 1131946680 +classes[].id 1131946680 classes[].name "default" classes[].fields[].name "abyte" classes[].fields[].type "byte" classes[].fields[].name "along" classes[].fields[].type "int64" +classes[].fields[].name "abool" +classes[].fields[].type "bool" +classes[].fields[].name "ashortfloat" +classes[].fields[].type "float16" classes[].fields[].name "tagfield" classes[].fields[].type "jsonstring" classes[].fields[].name "stringmapfield" @@ -19,7 +23,7 @@ classes[].fields[].name "summaryfeatures" classes[].fields[].type "featuredata" classes[].fields[].name "documentid" classes[].fields[].type "longstring" -classes[].id 278794929 +classes[].id 1027812395 classes[].name "attributeprefetch" classes[].fields[].name "other" classes[].fields[].type "int64" @@ -27,6 +31,10 @@ classes[].fields[].name "abyte" classes[].fields[].type "byte" classes[].fields[].name "along" classes[].fields[].type "int64" +classes[].fields[].name "abool" +classes[].fields[].type "bool" +classes[].fields[].name "ashortfloat" +classes[].fields[].type "float16" classes[].fields[].name "juletre" classes[].fields[].type "int64" classes[].fields[].name "rankfeatures" diff --git a/config-model/src/test/derived/types/summarymap.cfg b/config-model/src/test/derived/types/summarymap.cfg index 0cb8b6129fa..b87200f6573 100644 --- a/config-model/src/test/derived/types/summarymap.cfg +++ b/config-model/src/test/derived/types/summarymap.cfg @@ -5,6 +5,12 @@ override[].arguments "abyte" override[].field "along" override[].command "attribute" override[].arguments "along" +override[].field "abool" +override[].command "attribute" +override[].arguments "abool" +override[].field "ashortfloat" +override[].command "attribute" +override[].arguments "ashortfloat" override[].field "tagfield" override[].command "attribute" override[].arguments "tagfield" diff --git a/config-model/src/test/derived/types/types.sd b/config-model/src/test/derived/types/types.sd index c908b648340..839cb08dbd6 100644 --- a/config-model/src/test/derived/types/types.sd +++ b/config-model/src/test/derived/types/types.sd @@ -11,6 +11,14 @@ search types { indexing: index | summary | attribute } + field abool type bool { + indexing: summary | attribute + } + + field ashortfloat type float16 { + indexing: summary | attribute + } + field arrayfield type array<int> { indexing: attribute } diff --git a/config-model/src/test/derived/types/vsmsummary.cfg b/config-model/src/test/derived/types/vsmsummary.cfg index b1a29b94491..5ee589ccf9f 100644 --- a/config-model/src/test/derived/types/vsmsummary.cfg +++ b/config-model/src/test/derived/types/vsmsummary.cfg @@ -5,6 +5,12 @@ fieldmap[].command NONE fieldmap[].summary "along" fieldmap[].document[].field "along" fieldmap[].command NONE +fieldmap[].summary "abool" +fieldmap[].document[].field "abool" +fieldmap[].command NONE +fieldmap[].summary "ashortfloat" +fieldmap[].document[].field "ashortfloat" +fieldmap[].command NONE fieldmap[].summary "tagfield" fieldmap[].document[].field "tagfield" fieldmap[].command NONE |