File: usage_setup_schema.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 (16 lines) | stat: -rw-r--r-- 771 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Execution example::

  table_create Memos TABLE_HASH_KEY ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create Memos title COLUMN_SCALAR ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create Memos content COLUMN_SCALAR Text
  # [[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 title_index COLUMN_INDEX|WITH_POSITION Memos title
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create Terms content_index COLUMN_INDEX|WITH_POSITION Memos content
  # [[0, 1337566253.89858, 0.000355720520019531], true]