| 1 |
table_create Documents TABLE_HASH_KEY ShortText |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Documents content COLUMN_SCALAR Text |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Terms document_index COLUMN_INDEX|WITH_POSITION Documents content |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table Documents |
| 10 |
[ |
| 11 |
["_key", "content"], |
| 12 |
["Groonga", "Groonga can be used with MySQL."] |
| 13 |
] |
| 14 |
[[0,0.0,0.0],1] |
| 15 |
select Documents --match_columns content --query 'MySQL' --output_columns '_key, snippet_html(_key, {"nonexistent": {}})' |
| 16 |
[ |
| 17 |
[ |
| 18 |
[ |
| 19 |
-22, |
| 20 |
0.0, |
| 21 |
0.0 |
| 22 |
], |
| 23 |
"snippet_html(): invalid option name: <nonexistent>" |
| 24 |
], |
| 25 |
[ |
| 26 |
[ |
| 27 |
[ |
| 28 |
1 |
| 29 |
], |
| 30 |
[ |
| 31 |
[ |
| 32 |
"_key", |
| 33 |
"ShortText" |
| 34 |
], |
| 35 |
[ |
| 36 |
"snippet_html", |
| 37 |
null |
| 38 |
] |
| 39 |
], |
| 40 |
[ |
| 41 |
"Groonga", |
| 42 |
"snippet_html(): invalid option name: <nonexistent>" |
| 43 |
] |
| 44 |
] |
| 45 |
] |
| 46 |
] |
| 47 |
#|e| snippet_html(): invalid option name: <nonexistent> |