File: index-1.log

package info (click to toggle)
groonga 9.0.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 101,496 kB
  • sloc: ansic: 608,707; ruby: 35,042; xml: 23,643; cpp: 10,319; sh: 7,453; yacc: 5,968; python: 3,033; makefile: 2,609; perl: 133
file content (24 lines) | stat: -rw-r--r-- 1,303 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
Execution example::

  table_create --name Video --flags TABLE_HASH_KEY --key_type UInt32
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  table_create --name Tag --flags TABLE_HASH_KEY --key_type ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table Video --name title --flags COLUMN_SCALAR --type ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table Video --name tags --flags COLUMN_VECTOR --type Tag
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table Tag --name index_tags --flags COLUMN_INDEX --type Video --source tags
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  load --table Video
  [
  {"_key":1,"title":"Soccer 2010","tags":["Sports","Soccer"]},
  {"_key":2,"title":"Zenigata Kinjirou","tags":["Variety","Money"]},
  {"_key":3,"title":"groonga Demo","tags":["IT","Server","groonga"]},
  {"_key":4,"title":"Moero!! Ultra Baseball","tags":["Sports","Baseball"]},
  {"_key":5,"title":"Hex Gone!","tags":["Variety","Quiz"]},
  {"_key":6,"title":"Pikonyan 1","tags":["Animation","Pikonyan"]},
  {"_key":7,"title":"Draw 8 Month","tags":["Animation","Raccoon"]},
  {"_key":8,"title":"K.O.","tags":["Animation","Music"]}
  ]
  # [[0, 1337566253.89858, 0.000355720520019531], 8]