aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/cfg/application/app1/schemas/sock.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/cfg/application/app1/schemas/sock.sd')
-rw-r--r--config-model/src/test/cfg/application/app1/schemas/sock.sd27
1 files changed, 27 insertions, 0 deletions
diff --git a/config-model/src/test/cfg/application/app1/schemas/sock.sd b/config-model/src/test/cfg/application/app1/schemas/sock.sd
new file mode 100644
index 00000000000..9331c0caf54
--- /dev/null
+++ b/config-model/src/test/cfg/application/app1/schemas/sock.sd
@@ -0,0 +1,27 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search sock {
+
+ document sock inherits product {
+
+ field size type int {
+ indexing: index | summary | attribute
+ }
+
+ field color type string {
+ indexing: summary
+ index: prefix
+ }
+
+ field brand type string {
+ indexing: summary
+ }
+
+ }
+
+ rank-profile other {
+ second-phase {
+ expression: fieldMatch(color).fieldCompleteness + fieldMatch(brand).proximity
+ }
+ }
+
+}