| 1 |
table_create Memos TABLE_HASH_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Terms memos_key COLUMN_INDEX|WITH_POSITION Memos _key |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table Memos |
| 8 |
[ |
| 9 |
{"_key": "Groonga is fast!"}, |
| 10 |
{"_key": "Mroonga is fast!"}, |
| 11 |
{"_key": "Groonga sticker!"}, |
| 12 |
{"_key": "Rroonga is fast!"} |
| 13 |
] |
| 14 |
[[0,0.0,0.0],4] |
| 15 |
select Memos --slices[groonga].match_columns '_key' --slices[groonga].query 'Groonga' --slices[groonga].output_columns ':' |
| 16 |
[ |
| 17 |
[ |
| 18 |
[ |
| 19 |
-63, |
| 20 |
0.0, |
| 21 |
0.0 |
| 22 |
], |
| 23 |
"Syntax error: <|:|>" |
| 24 |
], |
| 25 |
[ |
| 26 |
[ |
| 27 |
[ |
| 28 |
4 |
| 29 |
], |
| 30 |
[ |
| 31 |
[ |
| 32 |
"_id", |
| 33 |
"UInt32" |
| 34 |
], |
| 35 |
[ |
| 36 |
"_key", |
| 37 |
"ShortText" |
| 38 |
] |
| 39 |
], |
| 40 |
[ |
| 41 |
1, |
| 42 |
"Groonga is fast!" |
| 43 |
], |
| 44 |
[ |
| 45 |
2, |
| 46 |
"Mroonga is fast!" |
| 47 |
], |
| 48 |
[ |
| 49 |
3, |
| 50 |
"Groonga sticker!" |
| 51 |
], |
| 52 |
[ |
| 53 |
4, |
| 54 |
"Rroonga is fast!" |
| 55 |
] |
| 56 |
], |
| 57 |
{ |
| 58 |
"groonga": [] |
| 59 |
} |
| 60 |
] |
| 61 |
] |
| 62 |
#|e| Syntax error: <|:|> |