blob: bf325073e1d381a394153153efd42ae9a25fed37 (
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
|
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema gemini {
document gemini {
field right type string {
indexing: attribute
}
field wrong type string {
indexing: attribute
}
}
rank-profile test {
function wrapper2(x) {
expression: x
}
function wrapper1(x) {
expression: wrapper2(x)
}
function toplevel() {
expression: wrapper1(attribute(right))
}
function interfering() {
expression: wrapper1(attribute(wrong))
}
}
}
|