Debian Codegraph @

doc/source/example/reference/grn_expr/query_syntax/setup.log

raw
1 Execution example::
2
3 table_create Entries TABLE_PAT_KEY ShortText
4 # [[0,1337566253.89858,0.000355720520019531],true]
5 column_create Entries content COLUMN_SCALAR Text
6 # [[0,1337566253.89858,0.000355720520019531],true]
7 column_create Entries n_likes COLUMN_SCALAR UInt32
8 # [[0,1337566253.89858,0.000355720520019531],true]
9 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
10 # [[0,1337566253.89858,0.000355720520019531],true]
11 column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
12 # [[0,1337566253.89858,0.000355720520019531],true]
13 column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
14 # [[0,1337566253.89858,0.000355720520019531],true]
15 load --table Entries
16 [
17 {"_key": "The first post!",
18 "content": "Welcome! This is my first post!",
19 "n_likes": 5},
20 {"_key": "Groonga",
21 "content": "I started to use Groonga. It's very fast!",
22 "n_likes": 10},
23 {"_key": "Mroonga",
24 "content": "I also started to use Mroonga. It's also very fast! Really fast!",
25 "n_likes": 15},
26 {"_key": "Good-bye Senna",
27 "content": "I migrated all Senna system!",
28 "n_likes": 3},
29 {"_key": "Good-bye Tritonn",
30 "content": "I also migrated all Tritonn system!",
31 "n_likes": 3}
32 ]
33 # [[0,1337566253.89858,0.000355720520019531],5]