summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2021-06-07 11:44:47 +0200
committerHarald Musum <musum@verizonmedia.com>2021-06-07 11:44:47 +0200
commit8dc4e478b9c7ae03d55c167511e00e69a9cb0433 (patch)
tree5d81f683440abac6e57ed5712badc1f3b8bf0fb3 /config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd
parenta736481cef5563a32be064c9762eaa4deda91987 (diff)
parentd6fe9e5b14e2a5c1e46c7cb6fd287a9137e5b54b (diff)
Merge branch 'master' into hmusum/throw-exception-when-specifyin-resource-limits
Diffstat (limited to 'config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd')
-rw-r--r--config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd37
1 files changed, 37 insertions, 0 deletions
diff --git a/config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd b/config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd
new file mode 100644
index 00000000000..693afbd308d
--- /dev/null
+++ b/config-model/src/test/cfg/application/app_complicated_deployment_spec/schemas/music.sd
@@ -0,0 +1,37 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+# A basic search definition - called music, should be saved to music.sd
+search music {
+
+ # It contains one document type only - called music as well
+ document music {
+
+ field title type string {
+ indexing: summary | index # How this field should be indexed
+ # index-to: title, default # Create two indexes
+ rank-type: about # Type of ranking settings to apply
+ }
+
+ field artist type string {
+ indexing: summary | attribute | index
+ # index-to: artist, default
+ rank-type:about
+ }
+
+ field year type int {
+ indexing: summary | attribute
+ }
+
+ # Increase rank score of popular documents regardless of query
+ field popularity type int {
+ indexing: summary | attribute
+ }
+
+ field url type uri {
+ indexing: summary | index
+ }
+
+ field cover type raw {}
+
+ }
+
+}