diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-09-27 12:39:13 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2018-09-27 12:39:13 +0200 |
commit | 844ed003049e34eff81ca0631376e6db3fd51e66 (patch) | |
tree | c429b4f62bd4c7dea5e346a6e3a6c3523751c636 /config-model/src/test/examples | |
parent | 258d329a753206fc31b9680e868539292b4f5d23 (diff) |
Small test are better to keep in the code.
Diffstat (limited to 'config-model/src/test/examples')
4 files changed, 0 insertions, 63 deletions
diff --git a/config-model/src/test/examples/duplicatenamesindoc.sd b/config-model/src/test/examples/duplicatenamesindoc.sd deleted file mode 100644 index 3c55efe953d..00000000000 --- a/config-model/src/test/examples/duplicatenamesindoc.sd +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -search duplicatenamesindoc { -document { - field foo type int { - indexing: attribute - } - - field fOo type string { - indexing: index - } -} -} diff --git a/config-model/src/test/examples/duplicatenamesinsearchdifferenttype.sd b/config-model/src/test/examples/duplicatenamesinsearchdifferenttype.sd deleted file mode 100644 index 502a4bb7aff..00000000000 --- a/config-model/src/test/examples/duplicatenamesinsearchdifferenttype.sd +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -search duplicatenamesinsearch { -document { - field grpphotoids64 type string { } -} - -field grpphotoids64 type array<long> { - indexing: input grpphotoids64 | split " " | for_each { - base64decode } | attribute - } - -} diff --git a/config-model/src/test/examples/incorrectsummarytypes.sd b/config-model/src/test/examples/incorrectsummarytypes.sd deleted file mode 100644 index 9304ad5ca20..00000000000 --- a/config-model/src/test/examples/incorrectsummarytypes.sd +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -search incorrectsummarytypes { - - document incorrectsummarytypes { - - field somestring type string { - indexing: summary - } - - } - - document-summary incorrect { - - summary somestring type int { - } - - } - -} diff --git a/config-model/src/test/examples/name-check.sd b/config-model/src/test/examples/name-check.sd deleted file mode 100644 index bd7c0713e3a..00000000000 --- a/config-model/src/test/examples/name-check.sd +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -# An entry-level configuration. -# You can get a reasonable configuration by only configuring -# a document -search simple { - - document name-check { - - field title type string { - indexing: summary | index - } - - # reserved name, should trigger error - field sddocname type string { - indexing: index - } - - } - -} |