File: usage_setup.log

package info (click to toggle)
groonga 16.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188,416 kB
  • sloc: ansic: 772,827; cpp: 52,396; ruby: 40,556; javascript: 10,250; yacc: 7,045; sh: 5,627; python: 2,821; makefile: 1,679
file content (71 lines) | stat: -rw-r--r-- 3,056 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Execution example::

  table_create Entries_20150708 TABLE_HASH_KEY ShortText
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Entries_20150708 created_at COLUMN_SCALAR Time
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Entries_20150708 content COLUMN_SCALAR Text
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Entries_20150708 n_likes COLUMN_SCALAR UInt32
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Entries_20150708 tag COLUMN_SCALAR ShortText
  # [[0,1337566253.89858,0.000355720520019531],true]
  table_create Entries_20150709 TABLE_HASH_KEY ShortText
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Entries_20150709 created_at COLUMN_SCALAR Time
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Entries_20150709 content COLUMN_SCALAR Text
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Entries_20150709 n_likes COLUMN_SCALAR UInt32
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Entries_20150709 tag COLUMN_SCALAR ShortText
  # [[0,1337566253.89858,0.000355720520019531],true]
  table_create Terms TABLE_PAT_KEY ShortText \
    --default_tokenizer TokenBigram \
    --normalizer NormalizerAuto
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Terms entries_key_index_20150708 \
    COLUMN_INDEX|WITH_POSITION Entries_20150708 _key
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Terms entries_content_index_20150708 \
    COLUMN_INDEX|WITH_POSITION Entries_20150708 content
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Terms entries_key_index_20150709 \
    COLUMN_INDEX|WITH_POSITION Entries_20150709 _key
  # [[0,1337566253.89858,0.000355720520019531],true]
  column_create Terms entries_content_index_20150709 \
    COLUMN_INDEX|WITH_POSITION Entries_20150709 content
  # [[0,1337566253.89858,0.000355720520019531],true]
  load --table Entries_20150708
  [
  {"_key":       "The first post!",
   "created_at": "2015/07/08 00:00:00",
   "content":    "Welcome! This is my first post!",
   "n_likes":    5,
   "tag":        "Hello"},
  {"_key":       "Groonga",
   "created_at": "2015/07/08 01:00:00",
   "content":    "I started to use Groonga. It's very fast!",
   "n_likes":    10,
   "tag":        "Groonga"},
  {"_key":       "Mroonga",
   "created_at": "2015/07/08 02:00:00",
   "content":    "I also started to use Mroonga. It's also very fast! Really fast!",
   "n_likes":    15,
   "tag":        "Groonga"}
  ]
  # [[0,1337566253.89858,0.000355720520019531],3]
  load --table Entries_20150709
  [
  {"_key":       "Good-bye Senna",
   "created_at": "2015/07/09 00:00:00",
   "content":    "I migrated all Senna system!",
   "n_likes":    3,
   "tag":        "Senna"},
  {"_key":       "Good-bye Tritonn",
   "created_at": "2015/07/09 01:00:00",
   "content":    "I also migrated all Tritonn system!",
   "n_likes":    3,
   "tag":        "Senna"}
  ]
  # [[0,1337566253.89858,0.000355720520019531],2]