Debian Codegraph @

test/command/suite/query_expand/table/indexed_term_column.expected

raw
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 table_create Terms TABLE_PAT_KEY ShortText --normalizer NormalizerAuto
8 [[0,0.0,0.0],true]
9 column_create Terms expansion_term COLUMN_INDEX TermExpansions term
10 [[0,0.0,0.0],true]
11 load --table TermExpansions
12 [
13 {"term": "Rroonga", "expansions": ["Rroonga", "Ruby Groonga"]}
14 ]
15 [[0,0.0,0.0],1]
16 query_expand TermExpansions "Groonga rroonga Mroonga" --term_column term --expanded_term_column expansions
17 [[0,0.0,0.0],"Groonga ((Rroonga) OR (Ruby Groonga)) Mroonga"]