summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/sorting/sorting.sd
blob: f3b7dc47bee24b246fae2b175bd85c7be9d0c4af (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
53
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search sorting {

  document sorting {

    field syntaxcheck type string {
      indexing: attribute
      attribute {
        sorting: ascending
        sorting: descending
        sorting: function: uca
        sorting: function: raw
        sorting: function: lowercase
        sorting: strength: primary
        sorting: strength: secondary
        sorting: strength: tertiary
        sorting: strength: quaternary
        sorting: strength: identical
        sorting: locale: en_US
      }
    }

    field syntaxcheck2 type string {
      indexing: attribute
      attribute {
        sorting {
          ascending
          descending
          function: uca
          function: raw
          function: lowercase
          strength: primary
          strength: secondary
          strength: tertiary
          strength: quaternary
          strength: identical
          locale: en_US
        }
      }
    }

    field infieldonly type string {
      indexing: attribute
      sorting {
        descending
        function: lowercase
        strength: secondary
        locale: en_US
      }
    }
  }

}