| 1 |
table_create Tags TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Tags name COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Terms TABLE_PAT_KEY ShortText --normalizer 'NormalizerNFKC150' |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Terms tags_name COLUMN_INDEX Tags name |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table Tags |
| 10 |
[ |
| 11 |
{"name": "Groonga"} |
| 12 |
] |
| 13 |
[[0,0.0,0.0],1] |
| 14 |
select Tags --query "name:^g" --output_columns "highlight_html(name)" |
| 15 |
[ |
| 16 |
[ |
| 17 |
0, |
| 18 |
0.0, |
| 19 |
0.0 |
| 20 |
], |
| 21 |
[ |
| 22 |
[ |
| 23 |
[ |
| 24 |
1 |
| 25 |
], |
| 26 |
[ |
| 27 |
[ |
| 28 |
"highlight_html", |
| 29 |
null |
| 30 |
] |
| 31 |
], |
| 32 |
[ |
| 33 |
"<span class=\"keyword\">G</span>roon<span class=\"keyword\">g</span>a" |
| 34 |
] |
| 35 |
] |
| 36 |
] |
| 37 |
] |