blob: c206030078555f04b97c0acb0105cad318f57f6a (
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
|
search 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}
}
}
}
|