diff options
Diffstat (limited to 'configserver/src/test/apps/zkfeed/schemas/product.sd')
-rw-r--r-- | configserver/src/test/apps/zkfeed/schemas/product.sd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configserver/src/test/apps/zkfeed/schemas/product.sd b/configserver/src/test/apps/zkfeed/schemas/product.sd new file mode 100644 index 00000000000..588a1d544c6 --- /dev/null +++ b/configserver/src/test/apps/zkfeed/schemas/product.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. +document product { + + field title type string { + indexing: index | summary + # index-to: title, default + } + + field price type int { + indexing: index | summary | attribute + } + +} |