summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2019-02-04 13:56:02 +0100
committerGitHub <noreply@github.com>2019-02-04 13:56:02 +0100
commit7285aa2d3f2e8cd6cee90c063c4c29076adb094e (patch)
tree1bbc34148d1b455088513f78d4725270f25d264a /config-model/src/test/examples
parent14172aa5cd890445980202909d1277429e4c5a3a (diff)
Revert "Bratseth/disallow dash rebased"
Diffstat (limited to 'config-model/src/test/examples')
-rw-r--r--config-model/src/test/examples/invalid-name.sd12
-rw-r--r--config-model/src/test/examples/simple-with-weird-name.sd13
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
+ }
+
+ }
+
+}