doc/source/example/reference/functions/query/usage_with_query.log
raw| 1 | Execution example:: |
| 2 | |
| 3 | select Users --output_columns name,memo,_score --filter 'query("memo * 10", "groonga") || query("memo * 20", "mroonga") || query("memo * 1", "user")' --sort_keys -_score |
| 4 | # [ |
| 5 | # [ |
| 6 | # 0, |
| 7 | # 1337566253.89858, |
| 8 | # 0.000355720520019531 |
| 9 | # ], |
| 10 | # [ |
| 11 | # [ |
| 12 | # [ |
| 13 | # 5 |
| 14 | # ], |
| 15 | # [ |
| 16 | # [ |
| 17 | # "name", |
| 18 | # "ShortText" |
| 19 | # ], |
| 20 | # [ |
| 21 | # "memo", |
| 22 | # "ShortText" |
| 23 | # ], |
| 24 | # [ |
| 25 | # "_score", |
| 26 | # "Int32" |
| 27 | # ] |
| 28 | # ], |
| 29 | # [ |
| 30 | # "Tobby", |
| 31 | # "groonga and mroonga user. mroonga is ...", |
| 32 | # 51 |
| 33 | # ], |
| 34 | # [ |
| 35 | # "Alisa", |
| 36 | # "mroonga user", |
| 37 | # 21 |
| 38 | # ], |
| 39 | # [ |
| 40 | # "Alice", |
| 41 | # "groonga user", |
| 42 | # 11 |
| 43 | # ], |
| 44 | # [ |
| 45 | # "Tom", |
| 46 | # "nroonga user", |
| 47 | # 1 |
| 48 | # ], |
| 49 | # [ |
| 50 | # "Bob", |
| 51 | # "rroonga user", |
| 52 | # 1 |
| 53 | # ] |
| 54 | # ] |
| 55 | # ] |
| 56 | # ] |