summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2020-09-30 20:53:44 +0200
committerGitHub <noreply@github.com>2020-09-30 20:53:44 +0200
commit2380e628089b24849b5d5b95189082b141815c68 (patch)
treef1281bed7c6faccf4e85366f264a47fceb8f3030 /config-model/src/test/examples
parent849510dd107c770f4694a61f9af9c424b474fd23 (diff)
parentf54d8d82771457f7281f73bcc724180f9346c6f9 (diff)
Merge pull request #14648 from vespa-engine/bratseth/non-functional-changes
Non-functional changes only
Diffstat (limited to 'config-model/src/test/examples')
-rw-r--r--config-model/src/test/examples/casing.sd1
-rw-r--r--config-model/src/test/examples/illegalidentifiers/alias.sd38
-rw-r--r--config-model/src/test/examples/illegalidentifiers/doctypename.sd49
-rw-r--r--config-model/src/test/examples/illegalidentifiers/fieldname.sd37
-rw-r--r--config-model/src/test/examples/illegalidentifiers/rankprofile.sd41
-rw-r--r--config-model/src/test/examples/illegalidentifiers/searchname.sd37
-rw-r--r--config-model/src/test/examples/illegalidentifiers/summaryclass.sd38
7 files changed, 0 insertions, 241 deletions
diff --git a/config-model/src/test/examples/casing.sd b/config-model/src/test/examples/casing.sd
index 7682545e229..670571ab9eb 100644
--- a/config-model/src/test/examples/casing.sd
+++ b/config-model/src/test/examples/casing.sd
@@ -4,7 +4,6 @@ search music {
field Color type string {
indexing: index
- # index-to: color
alias color: Colour
match {
exact
diff --git a/config-model/src/test/examples/illegalidentifiers/alias.sd b/config-model/src/test/examples/illegalidentifiers/alias.sd
deleted file mode 100644
index 5187706e93d..00000000000
--- a/config-model/src/test/examples/illegalidentifiers/alias.sd
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-search music {
-
- document music {
-
- field color type string {
- indexing: index
- match {
- exact
- }
- }
-
- field artist type string {
- indexing: attribute a | attribute b
- }
-
- field drummer type string {
- indexing: index
- alias: or
- }
-
- field guitarist type string {
- indexing: attribute
- match {
- token
- }
- }
-
- field title type string {
- indexing: index | attribute
- }
-
- field genre type string {
- # index-to: foo
- }
- }
-
-}
diff --git a/config-model/src/test/examples/illegalidentifiers/doctypename.sd b/config-model/src/test/examples/illegalidentifiers/doctypename.sd
deleted file mode 100644
index c460579576f..00000000000
--- a/config-model/src/test/examples/illegalidentifiers/doctypename.sd
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-search music {
-
- document and {
- field artist type string {
- indexing: attribute a | attribute b
- }
- }
-
- document music {
-
- field color type string {
- indexing: index
- match {
- exact
- }
- }
-
- field artist type string {
- indexing: attribute a | attribute b
- }
-
- field drummer type string {
- indexing: attribute
- }
-
- field guitarist type string {
- indexing: attribute
- match {
- token
- }
- }
-
- field title type string {
- indexing: index | attribute
- }
-
- field genre type string {
- # index-to: foo
- }
- }
-
- document true {
- field name type string {
- indexing: index | summary
- }
- }
-
-}
diff --git a/config-model/src/test/examples/illegalidentifiers/fieldname.sd b/config-model/src/test/examples/illegalidentifiers/fieldname.sd
deleted file mode 100644
index 45d2347ea9d..00000000000
--- a/config-model/src/test/examples/illegalidentifiers/fieldname.sd
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-search music {
-
- document music {
-
- field color type string {
- indexing: index
- match {
- exact
- }
- }
-
- field artist type string {
- indexing: attribute a | attribute b
- }
-
- field not type string {
- indexing: attribute
- }
-
- field guitarist type string {
- indexing: attribute
- match {
- token
- }
- }
-
- field title type string {
- indexing: index | attribute
- }
-
- field genre type string {
- # index-to: foo
- }
- }
-
-}
diff --git a/config-model/src/test/examples/illegalidentifiers/rankprofile.sd b/config-model/src/test/examples/illegalidentifiers/rankprofile.sd
deleted file mode 100644
index 27699ae6b90..00000000000
--- a/config-model/src/test/examples/illegalidentifiers/rankprofile.sd
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-search music {
-
- document music {
-
- field color type string {
- indexing: index
- match {
- exact
- }
- }
-
- field artist type string {
- indexing: attribute a | attribute b
- }
-
- field drummer type string {
- indexing: attribute
- }
-
- field guitarist type string {
- indexing: attribute
- match {
- token
- }
- }
-
- field title type string {
- indexing: index | attribute | summary
- }
-
- field genre type string {
- # index-to: foo
- }
- }
-
- rank-profile false inherits default {
- }
-
-
-}
diff --git a/config-model/src/test/examples/illegalidentifiers/searchname.sd b/config-model/src/test/examples/illegalidentifiers/searchname.sd
deleted file mode 100644
index d0bab60eb4e..00000000000
--- a/config-model/src/test/examples/illegalidentifiers/searchname.sd
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-search true {
-
- document music {
-
- field color type string {
- indexing: index
- match {
- exact
- }
- }
-
- field artist type string {
- indexing: attribute a | attribute b
- }
-
- field drummer type string {
- indexing: attribute
- }
-
- field guitarist type string {
- indexing: attribute
- match {
- token
- }
- }
-
- field title type string {
- indexing: index | attribute
- }
-
- field genre type string {
- # index-to: foo
- }
- }
-
-}
diff --git a/config-model/src/test/examples/illegalidentifiers/summaryclass.sd b/config-model/src/test/examples/illegalidentifiers/summaryclass.sd
deleted file mode 100644
index 99c7d592062..00000000000
--- a/config-model/src/test/examples/illegalidentifiers/summaryclass.sd
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-search music {
-
- document music {
-
- field color type string {
- indexing: index
- match {
- exact
- }
- }
-
- field artist type string {
- indexing: attribute a | attribute b
- }
-
- field drummer type string {
- indexing: attribute
- }
-
- field guitarist type string {
- indexing: attribute
- match {
- token
- }
- }
-
- field title type string {
- indexing: index | attribute | summary
- summary-to: id
- }
-
- field genre type string {
- # index-to: foo
- }
- }
-
-}