| 1 |
table_create TermExpansions TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create TermExpansions term COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create TermExpansions expansions COLUMN_VECTOR ShortText |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
load --table TermExpansions |
| 8 |
[ |
| 9 |
{"term": "Rroonga", "expansions": ["Rroonga", "Ruby Groonga"]} |
| 10 |
] |
| 11 |
[[0,0.0,0.0],1] |
| 12 |
query_expand TermExpansions "Groonga ~-0.2Rroonga Mroonga" --term_column term --expanded_term_column expansions |
| 13 |
[[0,0.0,0.0],"Groonga ~-0.2((Rroonga) OR (Ruby Groonga)) Mroonga"] |