aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/music/music.sd
blob: 919e324c4bc9d94f5b20eb2d0df5f3ef4e464dcd (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema music {
  
  document music {

    field bgndata type string {
      indexing: summary
      summary: dynamic
    }

    field sales type int {
      indexing: summary | attribute
    }

    field pto type int {
      indexing: summary | attribute
    }

    field keys type string {
      indexing: index
    }

    field mid type int {
      indexing: summary | attribute
    }

    field ew type string {
      indexing: summary | index
      bolding: on
    }

    field surl type string {
      indexing: summary
    }

    field userrate type int {
      indexing: summary
    }

    field pid type string {
      indexing: summary
    }

    field weight type float {
      indexing: summary | attribute 
    }

    field url type string {
      indexing: summary
    }

    field isbn type string {
      indexing: summary
    }

    field fmt type string {
      indexing: summary | index
    }

    field albumid type string {
      indexing: summary
    }

    field disp_song type string {
      indexing: summary
    }

    field song type string {
      indexing: summary | index
      summary: dynamic
    }

    field pfrom type int {
      indexing: summary
    }

    field bgnpfrom type float {
      indexing: summary | attribute
    }

    field categories type string {
      indexing: summary | index
    }

    field data type string {
      indexing: summary
    }

    field numreview type int {
      indexing: summary
    }

    field bgnsellers type int {
      indexing: summary
    }

    field image type string {
      indexing: summary
    }

    field artist type string {
      indexing: summary | index
    }

    field artistspid type string {
      indexing: summary
    }

    field title type string {
      indexing: summary | index
    }

    field newestedition type int {
      indexing: summary | attribute
    }

    field bgnpto type string {
      indexing: summary
      summary: dynamic
      bolding: on
    }

    field year type int {
      indexing: summary | attribute
    }

    field did type int {
      indexing: summary | attribute
    }

    field scorekey type int {
      indexing: summary
    }

    field cbid type int {
      indexing: summary | attribute
    }

    field metalvalue type string {
      indexing: summary 
    }

    field hiphopvalue type string {
      indexing: summary
      match {
        token
      }
    }

    field powermetalvalue type string {
      indexing: index | summary
      rank: filter
    }

    field progvalue type string {
      indexing: index | summary
      rank {
        filter
      }
    }
  }

  field metalvalue_arr type array<string> {
    indexing: input metalvalue | split ";" | attribute
  }

  field hiphopvalue_arr type array<string> {
    indexing: input hiphopvalue | split ";" | attribute
  }

  fieldset default {
    fields: keys, ew, artist, song, title
  }

}