Debian Codegraph @

test/command/suite/column_rename/index/fulltext.expected

raw
1 table_create Memos TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Memos content COLUMN_SCALAR Text
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --normalizer NormalizerAuto --default_tokenizer TokenBigram
6 [[0,0.0,0.0],true]
7 column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"content": "Groonga is fast."}
12 ]
13 [[0,0.0,0.0],1]
14 column_rename Terms memos_content memos_content_index
15 [[0,0.0,0.0],true]
16 dump
17 table_create Memos TABLE_NO_KEY
18 column_create Memos content COLUMN_SCALAR Text
19
20 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
21
22 load --table Memos
23 [
24 ["_id","content"],
25 [1,"Groonga is fast."]
26 ]
27
28 column_create Terms memos_content_index COLUMN_INDEX|WITH_POSITION Memos content
29 select Memos --query "content:@groonga"
30 [
31 [
32 0,
33 0.0,
34 0.0
35 ],
36 [
37 [
38 [
39 1
40 ],
41 [
42 [
43 "_id",
44 "UInt32"
45 ],
46 [
47 "content",
48 "Text"
49 ]
50 ],
51 [
52 1,
53 "Groonga is fast."
54 ]
55 ]
56 ]
57 ]