blob: 8a570e58fa85957ea3c93176ddb909bbeeb7f671 (
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 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search 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))
}
}
}
|