blob: 6441884b5068030bdac734557c15b9e43328c45e (
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
|
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search common {
document common {
field uri type string {
indexing: summary
}
field title type string {
bolding: on
# index-to: default, title
indexing: index|summary
summary-to: smallsum
}
field mid type int {
indexing: attribute|index|summary
}
field scorekey type string {
indexing: summary
}
field weight type float {
indexing {
input weight * 10 | attribute | summary;
}
}
field w1 type float {
indexing {
input weight * 6 + input w1 | summary;
}
}
field w2 type float {
indexing {
input w2 + input weight | summary;
}
}
field did type string {
indexing: attribute|index|summary
}
field ew type string {
indexing: index|summary
}
}
rank-profile default {
first-phase {
expression: nativeRank
}
}
}
|