Sha256: 12e4398f277e6c08132c4e0cae5657ef033dd379ea1680da79b724844a4cb48c

Contents?: true

Size: 1.13 KB

Versions: 5

Compression:

Stored size: 1.13 KB

Contents

Execution example::

  > table_create Doc TABLE_PAT_KEY ShortText
  [[0,1317212801.95257,0.054058921],true]
  > column_create Doc body COLUMN_SCALAR ShortText
  [[0,1317212802.2071,0.040301713],true]
  > table_create Term TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
  [[0,1317212802.44812,0.027340933],true]
  > column_create Term Doc_body COLUMN_INDEX|WITH_POSITION Doc body
  [[0,1317212802.676,0.079743674],true]
  > table_create Synonym TABLE_PAT_KEY ShortText
  [[0,1317212802.95629,0.03656858],true]
  > column_create Synonym body COLUMN_SCALAR ShortText
  [[0,1317212803.19316,0.040515932],true]
  > load --table Doc
  > [
  > {"_key": "001", "body": "すっぱいブドウと甘いシークァーサー"},
  > {"_key": "002", "body": "シークヮーサージュースとゴーヤチャンプル"},
  > ]
  [[0,1317212803.43422,0.80056314],2]
  > load --table Synonym
  > [
  > {"_key": "シークァーサー", "body": "(シークァーサー OR シークヮーサー)"},
  > {"_key": "シークヮーサー", "body": "(シークァーサー OR シークヮーサー)"},
  > ]
  [[0,1317212804.43524,0.801037492],2]
  

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rroonga-2.0.2-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log
rroonga-2.0.1-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log
rroonga-2.0.0-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log
rroonga-1.3.1-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log
rroonga-1.3.0-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log