table_create TermExpansions TABLE_NO_KEY [[0,0.0,0.0],true] column_create TermExpansions term COLUMN_SCALAR ShortText [[0,0.0,0.0],true] column_create TermExpansions expansions COLUMN_VECTOR ShortText [[0,0.0,0.0],true] table_create Terms TABLE_PAT_KEY ShortText --normalizer NormalizerAuto [[0,0.0,0.0],true] column_create Terms expansion_term COLUMN_INDEX TermExpansions term [[0,0.0,0.0],true] load --table TermExpansions [ {"term": "Rroonga", "expansions": ["Rroonga", "Ruby Groonga"]} ] [[0,0.0,0.0],1] query_expand TermExpansions "Groonga rroonga Mroonga" --term_column term --expanded_term_column expansions [[0,0.0,0.0],"Groonga ((Rroonga) OR (Ruby Groonga)) Mroonga"]