Debian Codegraph @

doc/source/example/tutorial/query_expansion-1.log

raw
1 Execution example::
2
3 table_create Doc TABLE_PAT_KEY ShortText
4 # [[0,1337566253.89858,0.000355720520019531],true]
5 column_create Doc body COLUMN_SCALAR ShortText
6 # [[0,1337566253.89858,0.000355720520019531],true]
7 table_create Term TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
8 # [[0,1337566253.89858,0.000355720520019531],true]
9 column_create Term Doc_body COLUMN_INDEX|WITH_POSITION Doc body
10 # [[0,1337566253.89858,0.000355720520019531],true]
11 table_create Synonym TABLE_PAT_KEY ShortText
12 # [[0,1337566253.89858,0.000355720520019531],true]
13 column_create Synonym body COLUMN_VECTOR ShortText
14 # [[0,1337566253.89858,0.000355720520019531],true]
15 load --table Doc
16 [
17 {"_key": "001", "body": "Play all night in this theater."},
18 {"_key": "002", "body": "theatre is British spelling."},
19 ]
20 # [[0,1337566253.89858,0.000355720520019531],2]
21 load --table Synonym
22 [
23 {"_key": "theater", "body": ["theater", "theatre"]},
24 {"_key": "theatre", "body": ["theater", "theatre"]},
25 ]
26 # [[0,1337566253.89858,0.000355720520019531],2]