summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/prefixexactattribute/prefixexactattribute.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/derived/prefixexactattribute/prefixexactattribute.sd')
-rw-r--r--config-model/src/test/derived/prefixexactattribute/prefixexactattribute.sd52
1 files changed, 52 insertions, 0 deletions
diff --git a/config-model/src/test/derived/prefixexactattribute/prefixexactattribute.sd b/config-model/src/test/derived/prefixexactattribute/prefixexactattribute.sd
new file mode 100644
index 00000000000..d2835a0e0f2
--- /dev/null
+++ b/config-model/src/test/derived/prefixexactattribute/prefixexactattribute.sd
@@ -0,0 +1,52 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search prefixexactattribute {
+
+ document prefixexactattribute {
+
+ field indexfield0 type string {
+ indexing: index
+ match {
+ prefix
+ max-length: 79
+ }
+ }
+
+ field attributefield1 type string {
+ indexing: attribute
+ match {
+ prefix
+ exact
+ exact-terminator: "@"
+ }
+ }
+
+ field attributefield2 type string {
+ indexing: attribute
+ match {
+ exact
+ prefix
+ exact-terminator: "@"
+ }
+ }
+
+ field indexfield1 type string {
+ indexing: index
+ match {
+ exact
+ prefix
+ exact-terminator: "@"
+ }
+ }
+
+ # Old style - deprecated
+ field indexfield2 type string {
+ indexing: index
+ index: prefix
+ match {
+ exact
+ exact-terminator: "@"
+ }
+ }
+
+ }
+}