diff options
Diffstat (limited to 'config-model/src/test/examples')
-rw-r--r-- | config-model/src/test/examples/invalid-name.sd | 12 | ||||
-rw-r--r-- | config-model/src/test/examples/simple-with-weird-name.sd | 13 |
2 files changed, 13 insertions, 12 deletions
diff --git a/config-model/src/test/examples/invalid-name.sd b/config-model/src/test/examples/invalid-name.sd deleted file mode 100644 index f26fcc723f4..00000000000 --- a/config-model/src/test/examples/invalid-name.sd +++ /dev/null @@ -1,12 +0,0 @@ -# Dashes in names are not allowed -search invalid-name { - - document invalid-name { - - field title type string { - - } - - } - -}
\ No newline at end of file diff --git a/config-model/src/test/examples/simple-with-weird-name.sd b/config-model/src/test/examples/simple-with-weird-name.sd new file mode 100644 index 00000000000..109f4f7bba7 --- /dev/null +++ b/config-model/src/test/examples/simple-with-weird-name.sd @@ -0,0 +1,13 @@ +# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +# A minimal doc with name which is incompatible with YQL+ +search simple-with-weird-name { + + document simple-with-weird-name { + + field title type string { + indexing: summary | index + } + + } + +} |