| 1 |
table_create SynonymGroups TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create SynonymGroups synonyms COLUMN_VECTOR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Synonyms TABLE_PAT_KEY ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Synonyms group COLUMN_INDEX SynonymGroups synonyms |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table SynonymGroups |
| 10 |
[ |
| 11 |
["synonyms"], |
| 12 |
[["rroonga", "Ruby groonga"]], |
| 13 |
[["groonga", "rroonga", "mroonga"]] |
| 14 |
] |
| 15 |
[[0,0.0,0.0],2] |
| 16 |
query_expand Synonyms.group "rroonga" |
| 17 |
[ |
| 18 |
[ |
| 19 |
0, |
| 20 |
0.0, |
| 21 |
0.0 |
| 22 |
], |
| 23 |
"((rroonga) OR (Ruby groonga) OR (groonga) OR (rroonga) OR (mroonga))" |
| 24 |
] |