blob: fc7f58298c134f87f27b92307eba89c4e057cc2d (
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
|
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search video {
document video inherits common {
field director type string {
bolding: on
# index-to: default, director
indexing: index|summary
}
field disp_actor type string {
bolding: on
# index-to: default, disp_actor
indexing: index|summary
}
field actor type string {
bolding: on
# index-to: default, actor
indexing: index|summary
}
field fmt type string {
# index-to: default, fmt
indexing: index|summary
}
field isbn type string {
bolding: on
# index-to: default, isbn
indexing: index|summary
}
field year type int {
indexing: attribute|index|summary
}
}
field sw1 type float {
indexing {
input weight * 6 + input w1 + input w2 | summary;
}
}
field didinteger type array<int> {
indexing: input did | split " " | for_each { to_int } | attribute
}
rank-profile default {
first-phase {
expression: nativeRank
}
}
rank-profile rp1 inherits default {
#static-rank: weight1
}
rank-profile rp2 inherits default {
#static-rank: weight2
}
}
|