Sha256: 4cbdf5c1cb2dcfe5e101e8057359fa94fdc00cdfe38496693981d6e7abf286b8

Contents?: true

Size: 1.18 KB

Versions: 10

Compression:

Stored size: 1.18 KB

Contents

Execution example::

  table_create Titles TABLE_NO_KEY
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create Titles content COLUMN_SCALAR ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  table_create SuffixSearchTerms TABLE_PAT_KEY|KEY_WITH_SIS ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create SuffixSearchTerms index COLUMN_INDEX Titles content
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  load --table Titles
  [
  {"content": "ぐるんが"},
  {"content": "むるんが"},
  {"content": "せな"},
  {"content": "とりとん"}
  ]
  # [[0, 1337566253.89858, 0.000355720520019531], 4]
  select Titles --query 'content:$んが'
  # [
  #   [
  #     0, 
  #     1337566253.89858, 
  #     0.000355720520019531
  #   ], 
  #   [
  #     [
  #       [
  #         2
  #       ], 
  #       [
  #         [
  #           "_id", 
  #           "UInt32"
  #         ], 
  #         [
  #           "content", 
  #           "ShortText"
  #         ]
  #       ], 
  #       [
  #         2, 
  #         "むるんが"
  #       ], 
  #       [
  #         1, 
  #         "ぐるんが"
  #       ]
  #     ]
  #   ]
  # ]

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
rroonga-2.1.2-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log
rroonga-2.1.2-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log
rroonga-2.1.1-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log
rroonga-2.1.1-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log
rroonga-2.1.0-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log
rroonga-2.1.0-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log
rroonga-2.0.8-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log
rroonga-2.0.8-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log
rroonga-2.0.7-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log
rroonga-2.0.7-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log