blob: 8ea53cb2337b433ed7133372d3f6c64627153645 (
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
|
# Copyright Vespa.ai. 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
indexing: index|summary
}
field mid type int {
indexing: attribute|summary
}
field scorekey type string {
indexing: summary
}
field weight_src type float {
}
field w1_src type float {
}
field w2_src type float {
}
field did type string {
indexing: attribute|index|summary
}
field ew type string {
indexing: index|summary
}
field content type raw {
}
annotation date {
field exacttime type long { }
}
annotation emptyannotation { }
annotation NodeImpl { }
annotation DocumentImpl { }
annotation NodeImplSub inherits NodeImpl {
field refToPovided type annotationreference<DocumentImpl> { }
}
annotation DocumentImplSub inherits DocumentImpl { }
}
rank-profile default {
first-phase {
expression: nativeRank
}
}
field weight type float {
indexing: input weight_src * 10 | attribute | summary
}
field w1 type float {
indexing: input weight_src * 6 + input w1_src | summary
}
field w2 type float {
indexing: input w2_src + input weight_src | summary
}
document-summary smallsum {
from-disk
summary title type string {}
}
}
|