| 1 |
table_create Entries TABLE_PAT_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Entries contents COLUMN_VECTOR|COMPRESS_LZ4 Text |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
load --table Entries |
| 6 |
[ |
| 7 |
{ |
| 8 |
"_key": "Groonga", |
| 9 |
"contents": [ |
| 10 |
"I found Groonga.", |
| 11 |
"It's a fast fulltext search engine!" |
| 12 |
] |
| 13 |
}, |
| 14 |
{ |
| 15 |
"_key": "Mroonga", |
| 16 |
"contents": [ |
| 17 |
"I found Mroonga.", |
| 18 |
"It's a MySQL storage engine to use Groonga!" |
| 19 |
] |
| 20 |
} |
| 21 |
] |
| 22 |
[[0,0.0,0.0],2] |
| 23 |
select Entries |
| 24 |
[ |
| 25 |
[ |
| 26 |
0, |
| 27 |
0.0, |
| 28 |
0.0 |
| 29 |
], |
| 30 |
[ |
| 31 |
[ |
| 32 |
[ |
| 33 |
2 |
| 34 |
], |
| 35 |
[ |
| 36 |
[ |
| 37 |
"_id", |
| 38 |
"UInt32" |
| 39 |
], |
| 40 |
[ |
| 41 |
"_key", |
| 42 |
"ShortText" |
| 43 |
], |
| 44 |
[ |
| 45 |
"contents", |
| 46 |
"Text" |
| 47 |
] |
| 48 |
], |
| 49 |
[ |
| 50 |
1, |
| 51 |
"Groonga", |
| 52 |
[ |
| 53 |
"I found Groonga.", |
| 54 |
"It's a fast fulltext search engine!" |
| 55 |
] |
| 56 |
], |
| 57 |
[ |
| 58 |
2, |
| 59 |
"Mroonga", |
| 60 |
[ |
| 61 |
"I found Mroonga.", |
| 62 |
"It's a MySQL storage engine to use Groonga!" |
| 63 |
] |
| 64 |
] |
| 65 |
] |
| 66 |
] |
| 67 |
] |