blob: ba2be3f1d939b4e104bd682f7f3b351be3bb0a5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
schema test {
document test {
field id type int {
indexing: attribute | summary
}
}
rank-profile default {
first-phase {
expression: attribute(id) + 10
}
}
rank-profile match_features inherits default {
function myfunc() {
expression: attribute(id) + 20
}
match-features: attribute(id) myfunc()
}
}
|