doc/source/example/reference/functions/math_abs/nearest_shops.log
raw| 1 | Execution example:: |
| 2 | |
| 3 | select Shops --filter true --output_columns '_key, from_office' --scorer 'from_office = math_abs(250 - from_station)' --sort_keys from_office |
| 4 | # [ |
| 5 | # [ |
| 6 | # 0, |
| 7 | # 1337566253.89858, |
| 8 | # 0.000355720520019531 |
| 9 | # ], |
| 10 | # [ |
| 11 | # [ |
| 12 | # [ |
| 13 | # 3 |
| 14 | # ], |
| 15 | # [ |
| 16 | # [ |
| 17 | # "_key", |
| 18 | # "ShortText" |
| 19 | # ], |
| 20 | # [ |
| 21 | # "from_office", |
| 22 | # "Int32" |
| 23 | # ] |
| 24 | # ], |
| 25 | # [ |
| 26 | # "Cake & Coffee Shop", |
| 27 | # 50 |
| 28 | # ], |
| 29 | # [ |
| 30 | # "Donut & Coffee Shop", |
| 31 | # 150 |
| 32 | # ], |
| 33 | # [ |
| 34 | # "Coffee Shop", |
| 35 | # 200 |
| 36 | # ] |
| 37 | # ] |
| 38 | # ] |
| 39 | # ] |