aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/prefixexactattribute/prefixexactattribute.sd
blob: 119ec88c33c743f75fc44a4f5c8eb9ea332408df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema 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: "@"
      }
    }

  }
}