blob: 0c351d4323d8a48b0ca7f9ce5620c9236d5da2ba (
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
|
schema test {
document test {
}
rank-profile parent {
function inline myFunction() {
expression: myValue * query(myTensor){MY_KEY1} * mySlice(query(myTensor))
}
function inline myValue() {
expression: 4
}
function inline mySlice(myTensor) {
# TODO: We are missing type resolving across function calls in serialization,
# so using the short form (without 'key') here will fail
expression: myTensor{key:MY_KEY2}
}
}
}
|