| 1 |
table_create Entries TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Entries body COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table Entries |
| 10 |
[ |
| 11 |
{"body": ""} |
| 12 |
] |
| 13 |
[[0,0.0,0.0],1] |
| 14 |
select Entries --query 'body:@groonga OR _id:1' --output_columns 'highlight_html(body)' |
| 15 |
[[0,0.0,0.0],[[[1],[["highlight_html",null]],[""]]]] |