blob: 35a45878a07ac21a57f1fc022dbfa44d49b3cdf2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# A configuration doing a lot of IL magic in indexing statement
search indexing {
document indexing {
}
field number type int {
indexing {
10000 | set_var foo;
5000 | set_var bar;
get_var foo + get_var bar | set_var addition;
get_var foo - get_var bar | set_var subtraction;
get_var foo * get_var bar | set_var multiplication;
get_var foo / get_var bar | set_var division;
get_var foo % get_var bar | set_var modulus;
}
}
}
|