Debian Codegraph @

test/command/suite/select/query_expander/column/sudachi/vector/phrase.expected

raw
1 table_create Memos TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Memos content COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram
6 [[0,0.0,0.0],true]
7 column_create Terms memo_content COLUMN_INDEX|WITH_POSITION Memos content
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 ["content"],
12 ["ドコモ"]
13 ]
14 [[0,0.0,0.0],1]
15 table_create SudachiDictionary TABLE_PAT_KEY ShortText --normalizer NormalizerNFKC130
16 [[0,0.0,0.0],true]
17 column_create SudachiDictionary synonyms COLUMN_VECTOR ShortText
18 [[0,0.0,0.0],true]
19 select --table Memos --query_expander SudachiDictionary.synonyms --match_columns content --query '"NTT docomo"' --output_columns content,_score --command_version 3
20 {
21 "header": {
22 "return_code": 0,
23 "start_time": 0.0,
24 "elapsed_time": 0.0
25 },
26 "body": {
27 "n_hits": 1,
28 "columns": [
29 {
30 "name": "content",
31 "type": "ShortText"
32 },
33 {
34 "name": "_score",
35 "type": "Float"
36 }
37 ],
38 "records": [
39 [
40 "ドコモ",
41 0.800000011920929
42 ]
43 ]
44 }
45 }