blob: a412d5108616d2413c225998b7f6c42d5ac94b26 (
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
|
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search music {
document music {
# Link to album main page
field url type uri { }
# Title of album
field title type string { }
# Album artist
field artist type string { }
# Album production year
field year type int { }
# Album description - about the album
field description type raw { }
# Names of the album tracks
field tracks type array<string> { }
# How many have given this album the grade 0/1/2/3
field popularity type weightedset<int> { }
# How many have given this album the grade 0/1/2/3
field popularity2 type weightedset<int> {
weightedset: create-if-nonexistent
weightedset: remove-if-zero
}
# How many have given this album the grade 0/1/2/3
field popularity3 type weightedset<int> {
weightedset {
create-if-nonexistent
remove-if-zero
}
}
}
}
|