blob: 7b66f00309474b6a072e00aaa2995ccfabe094f5 (
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
|
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema rankprofiles {
document rankprofiles {
field field1 type string {
indexing: index
}
field field2 type int {
indexing: attribute
attribute: fast-search
}
field field3 type int {
indexing: attribute
attribute: fast-search
}
}
model default {
}
model other1 inherits default {
rank field1: filter
rank none: filter
}
model other2 inherits other1 {
}
model other3 {
}
model four {
match-phase {
attribute: field2
order: ascending
max-hits: 12345
}
}
model five {
match-phase {
attribute: field2
order: descending
max-hits: 54321
}
}
model six {
match-phase {
attribute: field3
max-hits: 666
}
}
model seven {
match-phase {
attribute: field3
max-hits:800
evaluation-point:0.7
pre-post-filter-tipping-point:3.4
}
}
model eight inherits seven {
}
}
|