diff options
Diffstat (limited to 'configserver/src/test/apps/zkfeed/schemas/sock.sd')
-rw-r--r-- | configserver/src/test/apps/zkfeed/schemas/sock.sd | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/configserver/src/test/apps/zkfeed/schemas/sock.sd b/configserver/src/test/apps/zkfeed/schemas/sock.sd new file mode 100644 index 00000000000..9331c0caf54 --- /dev/null +++ b/configserver/src/test/apps/zkfeed/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 + } + } + +} |