Sha256: f7edaddf75397f501a7dca66d156bed513ca975834fd61ea50365f54d2980e6e

Contents?: true

Size: 1.23 KB

Versions: 5

Compression:

Stored size: 1.23 KB

Contents

Execution example::

  table_create --name Blog1 --flags TABLE_HASH_KEY --key_type ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table Blog1 --name title --flags COLUMN_SCALAR --type ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table Blog1 --name message --flags COLUMN_SCALAR --type ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  table_create --name IndexBlog1 --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table IndexBlog1 --name index_title --flags COLUMN_INDEX|WITH_POSITION --type Blog1 --source title
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table IndexBlog1 --name index_message --flags COLUMN_INDEX|WITH_POSITION --type Blog1 --source message
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  load --table Blog1
  [
  {"_key":"grn1","title":"groonga test","message":"groonga message"},
  {"_key":"grn2","title":"baseball result","message":"rakutan eggs 4 - 4 groonga moritars"},
  {"_key":"grn3","title":"groonga message","message":"none"}
  ]
  # [[0, 1337566253.89858, 0.000355720520019531], 3]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rroonga-2.1.2-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log
rroonga-2.1.1-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log
rroonga-2.1.0-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log
rroonga-2.0.8-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log
rroonga-2.0.7-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log