| 1 |
table_create Memos TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Memos title COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Memos content COLUMN_SCALAR ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Memos |
| 8 |
[ |
| 9 |
{"title": "Groonga", "content": "Try Groonga!"} |
| 10 |
] |
| 11 |
[[0,0.0,0.0],1] |
| 12 |
select Memos --match_columns title||content --query Groonga |
| 13 |
[ |
| 14 |
[ |
| 15 |
0, |
| 16 |
0.0, |
| 17 |
0.0 |
| 18 |
], |
| 19 |
[ |
| 20 |
[ |
| 21 |
[ |
| 22 |
0 |
| 23 |
], |
| 24 |
[ |
| 25 |
[ |
| 26 |
"_id", |
| 27 |
"UInt32" |
| 28 |
], |
| 29 |
[ |
| 30 |
"content", |
| 31 |
"ShortText" |
| 32 |
], |
| 33 |
[ |
| 34 |
"title", |
| 35 |
"ShortText" |
| 36 |
] |
| 37 |
] |
| 38 |
] |
| 39 |
] |
| 40 |
] |