| 1 |
table_create Users TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Users name COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Users memo COLUMN_SCALAR ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Users |
| 8 |
[ |
| 9 |
{"name": "Alice", "memo": "Groonga user"}, |
| 10 |
{"name": "Bob", "memo": "Rroonga user"} |
| 11 |
] |
| 12 |
[[0,0.0,0.0],2] |
| 13 |
select Users --output_columns _score --filter 'memo @ "Groonga" && memo @ "Groonga" && memo @ "Groonga" && query("name", "Alice OR Bob")' |
| 14 |
[[0,0.0,0.0],[[[1],[["_score","Int32"]],[4]]]] |