rroonga 1.0.1-x86-mingw32 → 1.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS.ja.rdoc +146 -0
- data/NEWS.rdoc +146 -0
- data/README.ja.rdoc +7 -5
- data/README.rdoc +6 -5
- data/Rakefile +170 -18
- data/benchmark/create-wikipedia-database.rb +212 -0
- data/benchmark/read-write-many-small-items.rb +0 -0
- data/benchmark/repeat-load.rb +213 -0
- data/benchmark/select.rb +1052 -0
- data/benchmark/write-many-small-items.rb +0 -0
- data/example/bookmark.rb +94 -91
- data/example/index-html.rb +0 -0
- data/ext/groonga/extconf.rb +6 -6
- data/ext/groonga/rb-grn-accessor.c +1 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-column.c +201 -10
- data/ext/groonga/rb-grn-context.c +119 -20
- data/ext/groonga/rb-grn-database.c +27 -4
- data/ext/groonga/rb-grn-exception.c +15 -0
- data/ext/groonga/rb-grn-expression.c +14 -10
- data/ext/groonga/rb-grn-hash.c +4 -4
- data/ext/groonga/rb-grn-index-column.c +10 -6
- data/ext/groonga/rb-grn-logger.c +2 -2
- data/ext/groonga/rb-grn-object.c +33 -29
- data/ext/groonga/{rb-grn-operation.c → rb-grn-operator.c} +89 -87
- data/ext/groonga/rb-grn-patricia-trie.c +12 -12
- data/ext/groonga/rb-grn-plugin.c +134 -0
- data/ext/groonga/rb-grn-procedure.c +1 -1
- data/ext/groonga/rb-grn-query.c +7 -7
- data/ext/groonga/rb-grn-snippet.c +4 -3
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +27 -24
- data/ext/groonga/rb-grn-table.c +119 -58
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +20 -19
- data/ext/groonga/rb-grn-variable.c +1 -1
- data/ext/groonga/rb-grn-view-accessor.c +1 -1
- data/ext/groonga/rb-grn-view.c +1 -1
- data/ext/groonga/rb-grn.h +26 -20
- data/ext/groonga/rb-groonga.c +6 -4
- data/extconf.rb +10 -4
- data/html/developer.html +8 -2
- data/html/favicon.ico +0 -0
- data/html/favicon.svg +591 -0
- data/html/index.html +78 -12
- data/html/logo.svg +612 -0
- data/html/ranguba.css +92 -7
- data/html/readme.svg +256 -0
- data/lib/groonga.so +0 -0
- data/lib/groonga/context.rb +52 -1
- data/lib/groonga/expression-builder.rb +42 -6
- data/lib/groonga/record.rb +84 -15
- data/lib/groonga/schema.rb +524 -122
- data/pkg/rroonga-1.1.0-x86-mingw32/NEWS.ja.rdoc +326 -0
- data/pkg/rroonga-1.1.0-x86-mingw32/NEWS.rdoc +328 -0
- data/pkg/rroonga-1.1.0-x86-mingw32/README.ja.rdoc +68 -0
- data/pkg/rroonga-1.1.0-x86-mingw32/README.rdoc +68 -0
- data/pkg/rroonga-1.1.0-x86-mingw32/text/expression.rdoc +285 -0
- data/{text/TUTORIAL.ja.rdoc → pkg/rroonga-1.1.0-x86-mingw32/text/tutorial.ja.rdoc} +165 -126
- data/pkg/rroonga-1.1.0/NEWS.ja.rdoc +326 -0
- data/pkg/rroonga-1.1.0/NEWS.rdoc +328 -0
- data/pkg/rroonga-1.1.0/README.ja.rdoc +68 -0
- data/pkg/rroonga-1.1.0/README.rdoc +68 -0
- data/pkg/rroonga-1.1.0/text/expression.rdoc +285 -0
- data/pkg/rroonga-1.1.0/text/tutorial.ja.rdoc +433 -0
- data/rroonga-build.rb +3 -3
- data/test/run-test.rb +1 -1
- data/test/test-array.rb +4 -0
- data/test/test-column.rb +31 -1
- data/test/test-context-select.rb +45 -14
- data/test/test-context.rb +44 -0
- data/test/test-database.rb +21 -1
- data/test/test-expression-builder.rb +46 -5
- data/test/test-fix-size-column.rb +12 -0
- data/test/test-hash.rb +10 -4
- data/test/test-index-column.rb +33 -0
- data/test/test-patricia-trie.rb +6 -0
- data/test/test-plugin.rb +29 -0
- data/test/test-record.rb +84 -1
- data/test/test-remote.rb +3 -2
- data/test/test-schema-create-table.rb +32 -2
- data/test/test-schema-type.rb +167 -0
- data/test/test-schema.rb +159 -12
- data/test/test-table-select-weight.rb +20 -1
- data/test/test-table-select.rb +12 -0
- data/test/test-table.rb +65 -0
- data/test/test-variable-size-column.rb +12 -0
- data/text/tutorial.ja.rdoc +433 -0
- data/vendor/local/bin/grntest.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/etc/groonga/init.d/redhat/groonga +1 -9
- data/vendor/local/include/groonga/groonga.h +156 -6
- data/vendor/local/include/groonga/groonga/plugin.h +44 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/{modules → plugins}/suggest/suggest.la +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -2
- data/vendor/local/share/groonga/examples/dictionary/edict/edict_import.sh +14 -3
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro_import.sh +3 -1
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene_import.sh +19 -3
- data/vendor/local/share/groonga/munin/plugins/groonga_cpu_load +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_cpu_time +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_disk +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_memory +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_n_records +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_query_performance +0 -0
- data/vendor/local/share/groonga/munin/plugins/groonga_status +0 -0
- metadata +91 -341
- data/html/favicon.xcf +0 -0
- data/html/logo.xcf +0 -0
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/license/GPL +0 -340
- data/license/RUBY +0 -59
- data/vendor/local/lib/groonga/modules/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/modules/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/modules/suggest/suggest.dll.a +0 -0
- data/vendor/local/share/groonga/doc/ja/html/.buildinfo +0 -4
- data/vendor/local/share/groonga/doc/ja/html/_sources/characteristic.txt +0 -56
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/cache_limit.txt +0 -52
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/check.txt +0 -164
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/clearlock.txt +0 -61
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/column_create.txt +0 -93
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/column_list.txt +0 -97
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/column_remove.txt +0 -58
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/define_selector.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/defrag.txt +0 -57
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/delete.txt +0 -68
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/dump.txt +0 -62
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/load.txt +0 -98
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/log_level.txt +0 -65
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/log_put.txt +0 -69
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/log_reopen.txt +0 -66
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/quit.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/select.txt +0 -247
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/shutdown.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/status.txt +0 -59
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/suggest.txt +0 -79
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/table_create.txt +0 -111
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/table_list.txt +0 -87
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/table_remove.txt +0 -50
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands/view_add.txt +0 -53
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands_not_implemented/add.txt +0 -102
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands_not_implemented/get.txt +0 -78
- data/vendor/local/share/groonga/doc/ja/html/_sources/commands_not_implemented/set.txt +0 -103
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer/com.txt +0 -18
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer/document.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer/query.txt +0 -212
- data/vendor/local/share/groonga/doc/ja/html/_sources/developer/test.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/html/_sources/execfile.txt +0 -226
- data/vendor/local/share/groonga/doc/ja/html/_sources/expr.txt +0 -43
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/edit_distance.txt +0 -48
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/geo_distance.txt +0 -51
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/geo_in_circle.txt +0 -54
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/geo_in_rectangle.txt +0 -55
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/now.txt +0 -34
- data/vendor/local/share/groonga/doc/ja/html/_sources/functions/rand.txt +0 -41
- data/vendor/local/share/groonga/doc/ja/html/_sources/grnslap.txt +0 -64
- data/vendor/local/share/groonga/doc/ja/html/_sources/grntest.txt +0 -259
- data/vendor/local/share/groonga/doc/ja/html/_sources/http.txt +0 -52
- data/vendor/local/share/groonga/doc/ja/html/_sources/index.txt +0 -21
- data/vendor/local/share/groonga/doc/ja/html/_sources/install.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/html/_sources/news.txt +0 -199
- data/vendor/local/share/groonga/doc/ja/html/_sources/process.txt +0 -12
- data/vendor/local/share/groonga/doc/ja/html/_sources/pseudo_column.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/html/_sources/reference.txt +0 -14
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial01.txt +0 -293
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial02.txt +0 -100
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial03.txt +0 -72
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial04.txt +0 -111
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial05.txt +0 -65
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial06.txt +0 -91
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial07.txt +0 -92
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial08.txt +0 -53
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial09.txt +0 -9
- data/vendor/local/share/groonga/doc/ja/html/_sources/tutorial/tutorial10.txt +0 -486
- data/vendor/local/share/groonga/doc/ja/html/_sources/type.txt +0 -118
- data/vendor/local/share/groonga/doc/ja/html/_static/basic.css +0 -509
- data/vendor/local/share/groonga/doc/ja/html/_static/default.css +0 -277
- data/vendor/local/share/groonga/doc/ja/html/_static/doctools.js +0 -247
- data/vendor/local/share/groonga/doc/ja/html/_static/file.png +0 -0
- data/vendor/local/share/groonga/doc/ja/html/_static/jquery.js +0 -6240
- data/vendor/local/share/groonga/doc/ja/html/_static/minus.png +0 -0
- data/vendor/local/share/groonga/doc/ja/html/_static/plus.png +0 -0
- data/vendor/local/share/groonga/doc/ja/html/_static/pygments.css +0 -61
- data/vendor/local/share/groonga/doc/ja/html/_static/searchtools.js +0 -518
- data/vendor/local/share/groonga/doc/ja/html/_static/sidebar.js +0 -147
- data/vendor/local/share/groonga/doc/ja/html/_static/underscore.js +0 -16
- data/vendor/local/share/groonga/doc/ja/html/characteristic.html +0 -162
- data/vendor/local/share/groonga/doc/ja/html/commands.html +0 -139
- data/vendor/local/share/groonga/doc/ja/html/commands/cache_limit.html +0 -173
- data/vendor/local/share/groonga/doc/ja/html/commands/check.html +0 -285
- data/vendor/local/share/groonga/doc/ja/html/commands/clearlock.html +0 -180
- data/vendor/local/share/groonga/doc/ja/html/commands/column_create.html +0 -210
- data/vendor/local/share/groonga/doc/ja/html/commands/column_list.html +0 -220
- data/vendor/local/share/groonga/doc/ja/html/commands/column_remove.html +0 -183
- data/vendor/local/share/groonga/doc/ja/html/commands/define_selector.html +0 -221
- data/vendor/local/share/groonga/doc/ja/html/commands/defrag.html +0 -177
- data/vendor/local/share/groonga/doc/ja/html/commands/delete.html +0 -182
- data/vendor/local/share/groonga/doc/ja/html/commands/dump.html +0 -177
- data/vendor/local/share/groonga/doc/ja/html/commands/load.html +0 -208
- data/vendor/local/share/groonga/doc/ja/html/commands/log_level.html +0 -187
- data/vendor/local/share/groonga/doc/ja/html/commands/log_put.html +0 -190
- data/vendor/local/share/groonga/doc/ja/html/commands/log_reopen.html +0 -188
- data/vendor/local/share/groonga/doc/ja/html/commands/quit.html +0 -156
- data/vendor/local/share/groonga/doc/ja/html/commands/select.html +0 -331
- data/vendor/local/share/groonga/doc/ja/html/commands/shutdown.html +0 -156
- data/vendor/local/share/groonga/doc/ja/html/commands/status.html +0 -179
- data/vendor/local/share/groonga/doc/ja/html/commands/suggest.html +0 -191
- data/vendor/local/share/groonga/doc/ja/html/commands/table_create.html +0 -222
- data/vendor/local/share/groonga/doc/ja/html/commands/table_list.html +0 -202
- data/vendor/local/share/groonga/doc/ja/html/commands/table_remove.html +0 -173
- data/vendor/local/share/groonga/doc/ja/html/commands/view_add.html +0 -175
- data/vendor/local/share/groonga/doc/ja/html/commands_not_implemented/add.html +0 -180
- data/vendor/local/share/groonga/doc/ja/html/commands_not_implemented/get.html +0 -161
- data/vendor/local/share/groonga/doc/ja/html/commands_not_implemented/set.html +0 -182
- data/vendor/local/share/groonga/doc/ja/html/developer.html +0 -118
- data/vendor/local/share/groonga/doc/ja/html/developer/com.html +0 -136
- data/vendor/local/share/groonga/doc/ja/html/developer/document.html +0 -159
- data/vendor/local/share/groonga/doc/ja/html/developer/query.html +0 -336
- data/vendor/local/share/groonga/doc/ja/html/developer/test.html +0 -220
- data/vendor/local/share/groonga/doc/ja/html/execfile.html +0 -370
- data/vendor/local/share/groonga/doc/ja/html/expr.html +0 -157
- data/vendor/local/share/groonga/doc/ja/html/functions.html +0 -122
- data/vendor/local/share/groonga/doc/ja/html/functions/edit_distance.html +0 -162
- data/vendor/local/share/groonga/doc/ja/html/functions/geo_distance.html +0 -170
- data/vendor/local/share/groonga/doc/ja/html/functions/geo_in_circle.html +0 -173
- data/vendor/local/share/groonga/doc/ja/html/functions/geo_in_rectangle.html +0 -172
- data/vendor/local/share/groonga/doc/ja/html/functions/now.html +0 -152
- data/vendor/local/share/groonga/doc/ja/html/functions/rand.html +0 -159
- data/vendor/local/share/groonga/doc/ja/html/genindex.html +0 -227
- data/vendor/local/share/groonga/doc/ja/html/grnslap.html +0 -183
- data/vendor/local/share/groonga/doc/ja/html/grntest.html +0 -368
- data/vendor/local/share/groonga/doc/ja/html/http.html +0 -163
- data/vendor/local/share/groonga/doc/ja/html/index.html +0 -291
- data/vendor/local/share/groonga/doc/ja/html/install.html +0 -228
- data/vendor/local/share/groonga/doc/ja/html/news.html +0 -310
- data/vendor/local/share/groonga/doc/ja/html/objects.inv +0 -0
- data/vendor/local/share/groonga/doc/ja/html/process.html +0 -120
- data/vendor/local/share/groonga/doc/ja/html/pseudo_column.html +0 -147
- data/vendor/local/share/groonga/doc/ja/html/reference.html +0 -174
- data/vendor/local/share/groonga/doc/ja/html/search.html +0 -96
- data/vendor/local/share/groonga/doc/ja/html/searchindex.js +0 -1
- data/vendor/local/share/groonga/doc/ja/html/tutorial.html +0 -172
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial01.html +0 -388
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial02.html +0 -214
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial03.html +0 -183
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial04.html +0 -212
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial05.html +0 -169
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial06.html +0 -209
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial07.html +0 -212
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial08.html +0 -139
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial09.html +0 -114
- data/vendor/local/share/groonga/doc/ja/html/tutorial/tutorial10.html +0 -458
- data/vendor/local/share/groonga/doc/ja/html/type.html +0 -217
- data/vendor/local/share/groonga/doc/ja/source/__init__.py +0 -0
- data/vendor/local/share/groonga/doc/ja/source/characteristic.txt +0 -56
- data/vendor/local/share/groonga/doc/ja/source/commands.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/source/commands/cache_limit.txt +0 -52
- data/vendor/local/share/groonga/doc/ja/source/commands/check.txt +0 -164
- data/vendor/local/share/groonga/doc/ja/source/commands/clearlock.txt +0 -61
- data/vendor/local/share/groonga/doc/ja/source/commands/column_create.txt +0 -93
- data/vendor/local/share/groonga/doc/ja/source/commands/column_list.txt +0 -97
- data/vendor/local/share/groonga/doc/ja/source/commands/column_remove.txt +0 -58
- data/vendor/local/share/groonga/doc/ja/source/commands/define_selector.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/source/commands/defrag.txt +0 -57
- data/vendor/local/share/groonga/doc/ja/source/commands/delete.txt +0 -68
- data/vendor/local/share/groonga/doc/ja/source/commands/dump.txt +0 -62
- data/vendor/local/share/groonga/doc/ja/source/commands/load.txt +0 -98
- data/vendor/local/share/groonga/doc/ja/source/commands/log_level.txt +0 -65
- data/vendor/local/share/groonga/doc/ja/source/commands/log_put.txt +0 -69
- data/vendor/local/share/groonga/doc/ja/source/commands/log_reopen.txt +0 -66
- data/vendor/local/share/groonga/doc/ja/source/commands/quit.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/source/commands/select.txt +0 -247
- data/vendor/local/share/groonga/doc/ja/source/commands/shutdown.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/source/commands/status.txt +0 -59
- data/vendor/local/share/groonga/doc/ja/source/commands/table_create.txt +0 -111
- data/vendor/local/share/groonga/doc/ja/source/commands/table_list.txt +0 -87
- data/vendor/local/share/groonga/doc/ja/source/commands/table_remove.txt +0 -50
- data/vendor/local/share/groonga/doc/ja/source/commands/view_add.txt +0 -53
- data/vendor/local/share/groonga/doc/ja/source/commands_not_implemented/add.txt +0 -102
- data/vendor/local/share/groonga/doc/ja/source/commands_not_implemented/get.txt +0 -78
- data/vendor/local/share/groonga/doc/ja/source/commands_not_implemented/set.txt +0 -103
- data/vendor/local/share/groonga/doc/ja/source/conf.py +0 -265
- data/vendor/local/share/groonga/doc/ja/source/developer.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/source/developer/com.txt +0 -18
- data/vendor/local/share/groonga/doc/ja/source/developer/document.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/source/developer/query.txt +0 -212
- data/vendor/local/share/groonga/doc/ja/source/developer/test.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-1.log +0 -6
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-10.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-11.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-12.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-13.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-14.log +0 -9
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-15.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-16.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-17.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-2.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-3.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-4.log +0 -7
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-6.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-7.log +0 -16
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-8.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial01-9.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial02-1.log +0 -8
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial02-2.log +0 -6
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial02-3.log +0 -12
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial03-1.log +0 -18
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial03-2.log +0 -10
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial03-3.log +0 -10
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-1.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-2.log +0 -7
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-3.log +0 -7
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-4.log +0 -13
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-6.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial04-7.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-1.log +0 -24
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-2.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-3.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-4.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial05-6.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-1.log +0 -25
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-2.log +0 -9
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-3.log +0 -21
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-4.log +0 -7
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial06-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-1.log +0 -22
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-2.log +0 -9
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-3.log +0 -20
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial07-4.log +0 -9
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial08-1.log +0 -14
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-1.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-10.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-2.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-3.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-4.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-5.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-6.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-7.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-8.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/example/tutorial10-9.log +0 -5
- data/vendor/local/share/groonga/doc/ja/source/execfile.txt +0 -226
- data/vendor/local/share/groonga/doc/ja/source/expr.txt +0 -43
- data/vendor/local/share/groonga/doc/ja/source/functions.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/source/functions/edit_distance.txt +0 -48
- data/vendor/local/share/groonga/doc/ja/source/functions/geo_distance.txt +0 -51
- data/vendor/local/share/groonga/doc/ja/source/functions/geo_in_circle.txt +0 -54
- data/vendor/local/share/groonga/doc/ja/source/functions/geo_in_rectangle.txt +0 -55
- data/vendor/local/share/groonga/doc/ja/source/functions/now.txt +0 -34
- data/vendor/local/share/groonga/doc/ja/source/functions/rand.txt +0 -41
- data/vendor/local/share/groonga/doc/ja/source/grnslap.txt +0 -64
- data/vendor/local/share/groonga/doc/ja/source/grntest.txt +0 -259
- data/vendor/local/share/groonga/doc/ja/source/http.txt +0 -52
- data/vendor/local/share/groonga/doc/ja/source/index.txt +0 -21
- data/vendor/local/share/groonga/doc/ja/source/install.txt +0 -114
- data/vendor/local/share/groonga/doc/ja/source/news.txt +0 -199
- data/vendor/local/share/groonga/doc/ja/source/process.txt +0 -12
- data/vendor/local/share/groonga/doc/ja/source/pseudo_column.txt +0 -38
- data/vendor/local/share/groonga/doc/ja/source/rdoc.py +0 -762
- data/vendor/local/share/groonga/doc/ja/source/reference.txt +0 -14
- data/vendor/local/share/groonga/doc/ja/source/tutorial.txt +0 -10
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial01.txt +0 -293
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial02.txt +0 -100
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial03.txt +0 -72
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial04.txt +0 -111
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial05.txt +0 -65
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial06.txt +0 -91
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial07.txt +0 -92
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial08.txt +0 -53
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial09.txt +0 -9
- data/vendor/local/share/groonga/doc/ja/source/tutorial/tutorial10.txt +0 -486
- data/vendor/local/share/groonga/doc/ja/source/type.txt +0 -118
- data/vendor/local/share/groonga/doc/ja/source/update_execution_example.py +0 -113
- data/vendor/local/share/man/man1/groonga.1 +0 -5498
data/ext/groonga/rb-grn-logger.c
CHANGED
@@ -368,7 +368,7 @@ static VALUE
|
|
368
368
|
rb_grn_logger_s_set_path (VALUE klass, VALUE rb_path,
|
369
369
|
const char **path, const char *class_variable_name)
|
370
370
|
{
|
371
|
-
|
371
|
+
grn_bool need_reopen = GRN_FALSE;
|
372
372
|
|
373
373
|
if (NIL_P(rb_path)) {
|
374
374
|
need_reopen = *path != NULL;
|
@@ -377,7 +377,7 @@ rb_grn_logger_s_set_path (VALUE klass, VALUE rb_path,
|
|
377
377
|
const char *current_path = *path;
|
378
378
|
*path = RSTRING_PTR(rb_path);
|
379
379
|
if (!current_path || strcmp(*path, current_path) != 0) {
|
380
|
-
need_reopen =
|
380
|
+
need_reopen = GRN_TRUE;
|
381
381
|
}
|
382
382
|
}
|
383
383
|
rb_cv_set(klass, class_variable_name, rb_path);
|
data/ext/groonga/rb-grn-object.c
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
/*
|
20
20
|
* Document-class: Groonga::Object
|
21
21
|
*
|
22
|
-
*
|
22
|
+
* rroongaが提供するクラスのベースとなるクラス。
|
23
23
|
* Groonga::ContextとGroonga::Logger以外はGroonga::Objectを継
|
24
24
|
* 承している。
|
25
25
|
*/
|
@@ -248,7 +248,7 @@ rb_grn_object_to_ruby_class (grn_obj *object)
|
|
248
248
|
|
249
249
|
VALUE
|
250
250
|
rb_grn_object_to_ruby_object (VALUE klass, grn_ctx *context, grn_obj *object,
|
251
|
-
|
251
|
+
grn_bool owner)
|
252
252
|
{
|
253
253
|
RbGrnContext *rb_grn_context;
|
254
254
|
VALUE rb_object, rb_context = Qnil;
|
@@ -290,8 +290,8 @@ rb_grn_object_bind_common (VALUE klass, VALUE self, VALUE rb_context,
|
|
290
290
|
rb_grn_object->context = context;
|
291
291
|
rb_grn_object->object = object;
|
292
292
|
rb_grn_object->self = self;
|
293
|
-
rb_grn_object->need_close =
|
294
|
-
rb_grn_object->have_finalizer =
|
293
|
+
rb_grn_object->need_close = GRN_TRUE;
|
294
|
+
rb_grn_object->have_finalizer = GRN_FALSE;
|
295
295
|
|
296
296
|
user_data = grn_obj_user_data(context, object);
|
297
297
|
if (user_data) {
|
@@ -300,17 +300,17 @@ rb_grn_object_bind_common (VALUE klass, VALUE self, VALUE rb_context,
|
|
300
300
|
object->header.type);
|
301
301
|
user_data->ptr = rb_grn_object;
|
302
302
|
grn_obj_set_finalizer(context, object, rb_grn_object_finalizer);
|
303
|
-
rb_grn_object->have_finalizer =
|
303
|
+
rb_grn_object->have_finalizer = GRN_TRUE;
|
304
304
|
}
|
305
305
|
|
306
306
|
switch (object->header.type) {
|
307
307
|
case GRN_PROC:
|
308
308
|
case GRN_TYPE:
|
309
|
-
rb_grn_object->need_close =
|
309
|
+
rb_grn_object->need_close = GRN_FALSE;
|
310
310
|
break;
|
311
311
|
default:
|
312
312
|
if (klass == rb_cGrnVariable)
|
313
|
-
rb_grn_object->need_close =
|
313
|
+
rb_grn_object->need_close = GRN_FALSE;
|
314
314
|
break;
|
315
315
|
}
|
316
316
|
|
@@ -331,7 +331,6 @@ rb_grn_object_bind_common (VALUE klass, VALUE self, VALUE rb_context,
|
|
331
331
|
rb_grn_object->range = grn_ctx_at(context, rb_grn_object->range_id);
|
332
332
|
|
333
333
|
DATA_PTR(self) = rb_grn_object;
|
334
|
-
rb_iv_set(self, "@context", rb_context);
|
335
334
|
}
|
336
335
|
|
337
336
|
void
|
@@ -398,6 +397,8 @@ rb_grn_object_assign (VALUE klass, VALUE self, VALUE rb_context,
|
|
398
397
|
object->header.type);
|
399
398
|
}
|
400
399
|
|
400
|
+
rb_iv_set(self, "@context", rb_context);
|
401
|
+
|
401
402
|
debug("assign: %p:%p:%p 0x%x\n", context, object, rb_grn_object,
|
402
403
|
object->header.type);
|
403
404
|
}
|
@@ -528,7 +529,7 @@ rb_grn_object_inspect_object (VALUE inspected, grn_ctx *context, grn_obj *object
|
|
528
529
|
{
|
529
530
|
VALUE rb_object;
|
530
531
|
|
531
|
-
rb_object = GRNOBJECT2RVAL(Qnil, context, object,
|
532
|
+
rb_object = GRNOBJECT2RVAL(Qnil, context, object, GRN_FALSE);
|
532
533
|
rb_str_concat(inspected, rb_inspect(rb_object));
|
533
534
|
|
534
535
|
return inspected;
|
@@ -829,7 +830,9 @@ rb_grn_object_inspect_content (VALUE self, VALUE inspected)
|
|
829
830
|
object = rb_grn_object->object;
|
830
831
|
|
831
832
|
rb_str_cat2(inspected, " ");
|
832
|
-
if (
|
833
|
+
if (rb_grn_exited) {
|
834
|
+
rb_str_cat2(inspected, "(finished)");
|
835
|
+
} else if (object) {
|
833
836
|
rb_grn_object_inspect_object_content(inspected, context, object);
|
834
837
|
} else {
|
835
838
|
rb_str_cat2(inspected, "(closed)");
|
@@ -994,7 +997,7 @@ rb_grn_object_get_domain (VALUE self)
|
|
994
997
|
|
995
998
|
domain_object = grn_ctx_at(context, domain);
|
996
999
|
if (domain_object)
|
997
|
-
return GRNOBJECT2RVAL(Qnil, context, domain_object,
|
1000
|
+
return GRNOBJECT2RVAL(Qnil, context, domain_object, GRN_FALSE);
|
998
1001
|
else
|
999
1002
|
return UINT2NUM(domain);
|
1000
1003
|
}
|
@@ -1068,7 +1071,7 @@ rb_grn_object_get_range (VALUE self)
|
|
1068
1071
|
|
1069
1072
|
range_object = grn_ctx_at(context, range);
|
1070
1073
|
if (range_object)
|
1071
|
-
return GRNOBJECT2RVAL(Qnil, context, range_object,
|
1074
|
+
return GRNOBJECT2RVAL(Qnil, context, range_object, GRN_FALSE);
|
1072
1075
|
else
|
1073
1076
|
return UINT2NUM(range);
|
1074
1077
|
}
|
@@ -1178,7 +1181,7 @@ rb_grn_object_array_reference (VALUE self, VALUE rb_id)
|
|
1178
1181
|
return rb_value;
|
1179
1182
|
}
|
1180
1183
|
|
1181
|
-
static
|
1184
|
+
static grn_bool
|
1182
1185
|
rb_uvector_value_p (RbGrnObject *rb_grn_object, VALUE rb_value)
|
1183
1186
|
{
|
1184
1187
|
VALUE first_element;
|
@@ -1188,7 +1191,7 @@ rb_uvector_value_p (RbGrnObject *rb_grn_object, VALUE rb_value)
|
|
1188
1191
|
/* TODO: support not sizeof(grn_id) uvector. */
|
1189
1192
|
/*
|
1190
1193
|
if (!(rb_grn_object->range->header.flags | GRN_OBJ_KEY_VAR_SIZE)) {
|
1191
|
-
return
|
1194
|
+
return GRN_TRUE;
|
1192
1195
|
}
|
1193
1196
|
*/
|
1194
1197
|
break;
|
@@ -1197,15 +1200,15 @@ rb_uvector_value_p (RbGrnObject *rb_grn_object, VALUE rb_value)
|
|
1197
1200
|
case GRN_TABLE_NO_KEY:
|
1198
1201
|
case GRN_TABLE_VIEW:
|
1199
1202
|
first_element = rb_ary_entry(rb_value, 0);
|
1200
|
-
if (
|
1201
|
-
return
|
1203
|
+
if (rb_respond_to(first_element, rb_intern("record_raw_id"))) {
|
1204
|
+
return GRN_TRUE;
|
1202
1205
|
}
|
1203
1206
|
break;
|
1204
1207
|
default:
|
1205
1208
|
break;
|
1206
1209
|
}
|
1207
1210
|
|
1208
|
-
return
|
1211
|
+
return GRN_FALSE;
|
1209
1212
|
}
|
1210
1213
|
|
1211
1214
|
VALUE
|
@@ -1215,25 +1218,26 @@ rb_grn_object_set_raw (RbGrnObject *rb_grn_object, grn_id id,
|
|
1215
1218
|
grn_ctx *context;
|
1216
1219
|
grn_obj value;
|
1217
1220
|
grn_rc rc;
|
1218
|
-
VALUE exception;
|
1221
|
+
VALUE exception, rb_values;
|
1219
1222
|
|
1220
1223
|
context = rb_grn_object->context;
|
1221
|
-
|
1222
|
-
|
1223
|
-
GRN_OBJ_INIT(&value, GRN_UVECTOR, 0,
|
1224
|
-
rb_grn_object->object->header.domain);
|
1225
|
-
RVAL2GRNUVECTOR(rb_value, context, &value, related_object);
|
1226
|
-
} else {
|
1227
|
-
GRN_OBJ_INIT(&value, GRN_VECTOR, 0, GRN_ID_NIL);
|
1228
|
-
RVAL2GRNVECTOR(rb_value, context, &value);
|
1229
|
-
}
|
1230
|
-
} else {
|
1224
|
+
rb_values = rb_check_array_type(rb_value);
|
1225
|
+
if (NIL_P(rb_values)) {
|
1231
1226
|
if (NIL_P(rb_value)) {
|
1232
1227
|
GRN_OBJ_INIT(&value, GRN_BULK, 0, GRN_ID_NIL);
|
1233
1228
|
} else {
|
1234
1229
|
GRN_OBJ_INIT(&value, GRN_BULK, 0, GRN_ID_NIL);
|
1235
1230
|
RVAL2GRNBULK(rb_value, context, &value);
|
1236
1231
|
}
|
1232
|
+
} else {
|
1233
|
+
if (rb_uvector_value_p(rb_grn_object, rb_values)) {
|
1234
|
+
GRN_OBJ_INIT(&value, GRN_UVECTOR, 0,
|
1235
|
+
rb_grn_object->object->header.domain);
|
1236
|
+
RVAL2GRNUVECTOR(rb_values, context, &value, related_object);
|
1237
|
+
} else {
|
1238
|
+
GRN_OBJ_INIT(&value, GRN_VECTOR, 0, GRN_ID_NIL);
|
1239
|
+
RVAL2GRNVECTOR(rb_values, context, &value);
|
1240
|
+
}
|
1237
1241
|
}
|
1238
1242
|
rc = grn_obj_set_value(context, rb_grn_object->object, id,
|
1239
1243
|
&value, flags);
|
@@ -1341,7 +1345,7 @@ rb_grn_init_object (VALUE mGrn)
|
|
1341
1345
|
rb_cGrnObject = rb_define_class_under(mGrn, "Object", rb_cObject);
|
1342
1346
|
rb_define_alloc_func(rb_cGrnObject, rb_grn_object_alloc);
|
1343
1347
|
|
1344
|
-
rb_define_attr(rb_cGrnObject, "context",
|
1348
|
+
rb_define_attr(rb_cGrnObject, "context", GRN_TRUE, GRN_FALSE);
|
1345
1349
|
|
1346
1350
|
rb_define_method(rb_cGrnObject, "inspect", rb_grn_object_inspect, 0);
|
1347
1351
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby" -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2009 Kouhei Sutou <kou@clear-code.com>
|
3
|
+
Copyright (C) 2009-2011 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -18,181 +18,183 @@
|
|
18
18
|
|
19
19
|
#include "rb-grn.h"
|
20
20
|
|
21
|
-
VALUE
|
21
|
+
VALUE rb_mGrnOperator;
|
22
22
|
|
23
23
|
void
|
24
|
-
|
24
|
+
rb_grn_init_operator (VALUE mGrn)
|
25
25
|
{
|
26
|
-
|
26
|
+
rb_mGrnOperator = rb_define_module_under(mGrn, "Operator");
|
27
|
+
/* deprecated: backward compatibility. */
|
28
|
+
rb_define_const(mGrn, "Operation", rb_mGrnOperator);
|
27
29
|
|
28
|
-
rb_define_const(
|
30
|
+
rb_define_const(rb_mGrnOperator, "PUSH",
|
29
31
|
UINT2NUM(GRN_OP_PUSH));
|
30
|
-
rb_define_const(
|
32
|
+
rb_define_const(rb_mGrnOperator, "POP",
|
31
33
|
UINT2NUM(GRN_OP_POP));
|
32
|
-
rb_define_const(
|
34
|
+
rb_define_const(rb_mGrnOperator, "NO_OPERATION",
|
33
35
|
UINT2NUM(GRN_OP_NOP));
|
34
|
-
rb_define_const(
|
36
|
+
rb_define_const(rb_mGrnOperator, "CALL",
|
35
37
|
UINT2NUM(GRN_OP_CALL));
|
36
|
-
rb_define_const(
|
38
|
+
rb_define_const(rb_mGrnOperator, "INTERN",
|
37
39
|
UINT2NUM(GRN_OP_INTERN));
|
38
|
-
rb_define_const(
|
40
|
+
rb_define_const(rb_mGrnOperator, "GET_REFERENCE",
|
39
41
|
UINT2NUM(GRN_OP_GET_REF));
|
40
|
-
rb_define_const(
|
42
|
+
rb_define_const(rb_mGrnOperator, "GET_VALUE",
|
41
43
|
UINT2NUM(GRN_OP_GET_VALUE));
|
42
|
-
rb_define_const(
|
44
|
+
rb_define_const(rb_mGrnOperator, "AND",
|
43
45
|
UINT2NUM(GRN_OP_AND));
|
44
|
-
rb_define_const(
|
46
|
+
rb_define_const(rb_mGrnOperator, "BUT",
|
45
47
|
UINT2NUM(GRN_OP_BUT));
|
46
|
-
rb_define_const(
|
48
|
+
rb_define_const(rb_mGrnOperator, "OR",
|
47
49
|
UINT2NUM(GRN_OP_OR));
|
48
|
-
rb_define_const(
|
50
|
+
rb_define_const(rb_mGrnOperator, "ASSIGN",
|
49
51
|
UINT2NUM(GRN_OP_ASSIGN));
|
50
|
-
rb_define_const(
|
52
|
+
rb_define_const(rb_mGrnOperator, "STAR_ASSIGN",
|
51
53
|
UINT2NUM(GRN_OP_STAR_ASSIGN));
|
52
|
-
rb_define_const(
|
54
|
+
rb_define_const(rb_mGrnOperator, "SLASH_ASSIGN",
|
53
55
|
UINT2NUM(GRN_OP_SLASH_ASSIGN));
|
54
|
-
rb_define_const(
|
56
|
+
rb_define_const(rb_mGrnOperator, "MODULO_ASSIGN",
|
55
57
|
UINT2NUM(GRN_OP_MOD_ASSIGN));
|
56
|
-
rb_define_const(
|
58
|
+
rb_define_const(rb_mGrnOperator, "PLUS_ASSIGN",
|
57
59
|
UINT2NUM(GRN_OP_PLUS_ASSIGN));
|
58
|
-
rb_define_const(
|
60
|
+
rb_define_const(rb_mGrnOperator, "MINUS_ASSIGN",
|
59
61
|
UINT2NUM(GRN_OP_MINUS_ASSIGN));
|
60
|
-
rb_define_const(
|
62
|
+
rb_define_const(rb_mGrnOperator, "SHIFTL_ASSIGN",
|
61
63
|
UINT2NUM(GRN_OP_SHIFTL_ASSIGN));
|
62
|
-
rb_define_const(
|
64
|
+
rb_define_const(rb_mGrnOperator, "SHIRTR_ASSIGN",
|
63
65
|
UINT2NUM(GRN_OP_SHIFTR_ASSIGN));
|
64
|
-
rb_define_const(
|
66
|
+
rb_define_const(rb_mGrnOperator, "SHIFTRR_ASSIGN",
|
65
67
|
UINT2NUM(GRN_OP_SHIFTRR_ASSIGN));
|
66
|
-
rb_define_const(
|
68
|
+
rb_define_const(rb_mGrnOperator, "AND_ASSIGN",
|
67
69
|
UINT2NUM(GRN_OP_AND_ASSIGN));
|
68
|
-
rb_define_const(
|
70
|
+
rb_define_const(rb_mGrnOperator, "XOR_ASSIGN",
|
69
71
|
UINT2NUM(GRN_OP_XOR_ASSIGN));
|
70
|
-
rb_define_const(
|
72
|
+
rb_define_const(rb_mGrnOperator, "OR_ASSIGN",
|
71
73
|
UINT2NUM(GRN_OP_OR_ASSIGN));
|
72
|
-
rb_define_const(
|
74
|
+
rb_define_const(rb_mGrnOperator, "JUMP",
|
73
75
|
UINT2NUM(GRN_OP_JUMP));
|
74
|
-
rb_define_const(
|
76
|
+
rb_define_const(rb_mGrnOperator, "CJUMP",
|
75
77
|
UINT2NUM(GRN_OP_CJUMP));
|
76
|
-
rb_define_const(
|
78
|
+
rb_define_const(rb_mGrnOperator, "COMMA",
|
77
79
|
UINT2NUM(GRN_OP_COMMA));
|
78
|
-
rb_define_const(
|
80
|
+
rb_define_const(rb_mGrnOperator, "BITWISE_OR",
|
79
81
|
UINT2NUM(GRN_OP_BITWISE_OR));
|
80
|
-
rb_define_const(
|
82
|
+
rb_define_const(rb_mGrnOperator, "BITWISE_XOR",
|
81
83
|
UINT2NUM(GRN_OP_BITWISE_XOR));
|
82
|
-
rb_define_const(
|
84
|
+
rb_define_const(rb_mGrnOperator, "BITWISE_AND",
|
83
85
|
UINT2NUM(GRN_OP_BITWISE_AND));
|
84
|
-
rb_define_const(
|
86
|
+
rb_define_const(rb_mGrnOperator, "BITWISE_NOT",
|
85
87
|
UINT2NUM(GRN_OP_BITWISE_NOT));
|
86
|
-
rb_define_const(
|
88
|
+
rb_define_const(rb_mGrnOperator, "EQUAL",
|
87
89
|
UINT2NUM(GRN_OP_EQUAL));
|
88
|
-
rb_define_const(
|
90
|
+
rb_define_const(rb_mGrnOperator, "NOT_EQUAL",
|
89
91
|
UINT2NUM(GRN_OP_NOT_EQUAL));
|
90
|
-
rb_define_const(
|
92
|
+
rb_define_const(rb_mGrnOperator, "LESS",
|
91
93
|
UINT2NUM(GRN_OP_LESS));
|
92
|
-
rb_define_const(
|
94
|
+
rb_define_const(rb_mGrnOperator, "GREATER",
|
93
95
|
UINT2NUM(GRN_OP_GREATER));
|
94
|
-
rb_define_const(
|
96
|
+
rb_define_const(rb_mGrnOperator, "LESS_EQUAL",
|
95
97
|
UINT2NUM(GRN_OP_LESS_EQUAL));
|
96
|
-
rb_define_const(
|
98
|
+
rb_define_const(rb_mGrnOperator, "GREATER_EQUAL",
|
97
99
|
UINT2NUM(GRN_OP_GREATER_EQUAL));
|
98
|
-
rb_define_const(
|
100
|
+
rb_define_const(rb_mGrnOperator, "IN",
|
99
101
|
UINT2NUM(GRN_OP_IN));
|
100
|
-
rb_define_const(
|
102
|
+
rb_define_const(rb_mGrnOperator, "MATCH",
|
101
103
|
UINT2NUM(GRN_OP_MATCH));
|
102
|
-
rb_define_const(
|
104
|
+
rb_define_const(rb_mGrnOperator, "NEAR",
|
103
105
|
UINT2NUM(GRN_OP_NEAR));
|
104
|
-
rb_define_const(
|
106
|
+
rb_define_const(rb_mGrnOperator, "NEAR2",
|
105
107
|
UINT2NUM(GRN_OP_NEAR2));
|
106
|
-
rb_define_const(
|
108
|
+
rb_define_const(rb_mGrnOperator, "SIMILAR",
|
107
109
|
UINT2NUM(GRN_OP_SIMILAR));
|
108
|
-
rb_define_const(
|
110
|
+
rb_define_const(rb_mGrnOperator, "TERM_EXTRACT",
|
109
111
|
UINT2NUM(GRN_OP_TERM_EXTRACT));
|
110
|
-
rb_define_const(
|
112
|
+
rb_define_const(rb_mGrnOperator, "SHIFTL",
|
111
113
|
UINT2NUM(GRN_OP_SHIFTL));
|
112
|
-
rb_define_const(
|
114
|
+
rb_define_const(rb_mGrnOperator, "SHIFTR",
|
113
115
|
UINT2NUM(GRN_OP_SHIFTR));
|
114
|
-
rb_define_const(
|
116
|
+
rb_define_const(rb_mGrnOperator, "SHIFTRR",
|
115
117
|
UINT2NUM(GRN_OP_SHIFTRR));
|
116
|
-
rb_define_const(
|
118
|
+
rb_define_const(rb_mGrnOperator, "PLUS",
|
117
119
|
UINT2NUM(GRN_OP_PLUS));
|
118
|
-
rb_define_const(
|
120
|
+
rb_define_const(rb_mGrnOperator, "MINUS",
|
119
121
|
UINT2NUM(GRN_OP_MINUS));
|
120
|
-
rb_define_const(
|
122
|
+
rb_define_const(rb_mGrnOperator, "STAR",
|
121
123
|
UINT2NUM(GRN_OP_STAR));
|
122
|
-
rb_define_const(
|
124
|
+
rb_define_const(rb_mGrnOperator, "SLASH",
|
123
125
|
UINT2NUM(GRN_OP_SLASH));
|
124
|
-
rb_define_const(
|
126
|
+
rb_define_const(rb_mGrnOperator, "MODULO",
|
125
127
|
UINT2NUM(GRN_OP_MOD));
|
126
|
-
rb_define_const(
|
128
|
+
rb_define_const(rb_mGrnOperator, "DELETE",
|
127
129
|
UINT2NUM(GRN_OP_DELETE));
|
128
|
-
rb_define_const(
|
130
|
+
rb_define_const(rb_mGrnOperator, "INCREMENT",
|
129
131
|
UINT2NUM(GRN_OP_INCR));
|
130
|
-
rb_define_const(
|
132
|
+
rb_define_const(rb_mGrnOperator, "DECREMENT",
|
131
133
|
UINT2NUM(GRN_OP_DECR));
|
132
|
-
rb_define_const(
|
134
|
+
rb_define_const(rb_mGrnOperator, "INCREMENT_POST",
|
133
135
|
UINT2NUM(GRN_OP_INCR_POST));
|
134
|
-
rb_define_const(
|
136
|
+
rb_define_const(rb_mGrnOperator, "DECREMENT_POST",
|
135
137
|
UINT2NUM(GRN_OP_DECR_POST));
|
136
|
-
rb_define_const(
|
138
|
+
rb_define_const(rb_mGrnOperator, "NOT",
|
137
139
|
UINT2NUM(GRN_OP_NOT));
|
138
|
-
rb_define_const(
|
140
|
+
rb_define_const(rb_mGrnOperator, "ADJUST",
|
139
141
|
UINT2NUM(GRN_OP_ADJUST));
|
140
|
-
rb_define_const(
|
142
|
+
rb_define_const(rb_mGrnOperator, "EXACT",
|
141
143
|
UINT2NUM(GRN_OP_EXACT));
|
142
|
-
rb_define_const(
|
144
|
+
rb_define_const(rb_mGrnOperator, "LONGEST_COMMON_PREFIX",
|
143
145
|
UINT2NUM(GRN_OP_LCP));
|
144
|
-
rb_define_const(
|
146
|
+
rb_define_const(rb_mGrnOperator, "PARTIAL",
|
145
147
|
UINT2NUM(GRN_OP_PARTIAL));
|
146
|
-
rb_define_const(
|
148
|
+
rb_define_const(rb_mGrnOperator, "UNSPLIT",
|
147
149
|
UINT2NUM(GRN_OP_UNSPLIT));
|
148
|
-
rb_define_const(
|
150
|
+
rb_define_const(rb_mGrnOperator, "PREFIX",
|
149
151
|
UINT2NUM(GRN_OP_PREFIX));
|
150
|
-
rb_define_const(
|
152
|
+
rb_define_const(rb_mGrnOperator, "SUFFIX",
|
151
153
|
UINT2NUM(GRN_OP_SUFFIX));
|
152
|
-
rb_define_const(
|
154
|
+
rb_define_const(rb_mGrnOperator, "GEO_DISTANCE1",
|
153
155
|
UINT2NUM(GRN_OP_GEO_DISTANCE1));
|
154
|
-
rb_define_const(
|
156
|
+
rb_define_const(rb_mGrnOperator, "GEO_DISTANCE2",
|
155
157
|
UINT2NUM(GRN_OP_GEO_DISTANCE2));
|
156
|
-
rb_define_const(
|
158
|
+
rb_define_const(rb_mGrnOperator, "GEO_DISTANCE3",
|
157
159
|
UINT2NUM(GRN_OP_GEO_DISTANCE3));
|
158
|
-
rb_define_const(
|
160
|
+
rb_define_const(rb_mGrnOperator, "GEO_DISTANCE4",
|
159
161
|
UINT2NUM(GRN_OP_GEO_DISTANCE4));
|
160
|
-
rb_define_const(
|
162
|
+
rb_define_const(rb_mGrnOperator, "GEO_WITHINP5",
|
161
163
|
UINT2NUM(GRN_OP_GEO_WITHINP5));
|
162
|
-
rb_define_const(
|
164
|
+
rb_define_const(rb_mGrnOperator, "GEO_WITHINP6",
|
163
165
|
UINT2NUM(GRN_OP_GEO_WITHINP6));
|
164
|
-
rb_define_const(
|
166
|
+
rb_define_const(rb_mGrnOperator, "GEO_WITHINP8",
|
165
167
|
UINT2NUM(GRN_OP_GEO_WITHINP8));
|
166
|
-
rb_define_const(
|
168
|
+
rb_define_const(rb_mGrnOperator, "OBJECT_SEARCH",
|
167
169
|
UINT2NUM(GRN_OP_OBJ_SEARCH));
|
168
|
-
rb_define_const(
|
170
|
+
rb_define_const(rb_mGrnOperator, "EXPRESSION_GET_VARIABLE",
|
169
171
|
UINT2NUM(GRN_OP_EXPR_GET_VAR));
|
170
|
-
rb_define_const(
|
172
|
+
rb_define_const(rb_mGrnOperator, "TABLE_CREATE",
|
171
173
|
UINT2NUM(GRN_OP_TABLE_CREATE));
|
172
|
-
rb_define_const(
|
174
|
+
rb_define_const(rb_mGrnOperator, "TABLE_SELECT",
|
173
175
|
UINT2NUM(GRN_OP_TABLE_SELECT));
|
174
|
-
rb_define_const(
|
176
|
+
rb_define_const(rb_mGrnOperator, "TABLE_SORT",
|
175
177
|
UINT2NUM(GRN_OP_TABLE_SORT));
|
176
|
-
rb_define_const(
|
178
|
+
rb_define_const(rb_mGrnOperator, "TABLE_GROUP",
|
177
179
|
UINT2NUM(GRN_OP_TABLE_GROUP));
|
178
|
-
rb_define_const(
|
180
|
+
rb_define_const(rb_mGrnOperator, "JSON_PUT",
|
179
181
|
UINT2NUM(GRN_OP_JSON_PUT));
|
180
182
|
|
181
183
|
|
182
184
|
/*
|
183
|
-
rb_define_const(
|
185
|
+
rb_define_const(rb_mGrnOperator, "GEO_DISTANCE1",
|
184
186
|
UINT2NUM(GRN_OP_GEO_DISTANCE1));
|
185
|
-
rb_define_const(
|
187
|
+
rb_define_const(rb_mGrnOperator, "GEO_DISTANCE2",
|
186
188
|
UINT2NUM(GRN_OP_GEO_DISTANCE2));
|
187
|
-
rb_define_const(
|
189
|
+
rb_define_const(rb_mGrnOperator, "GEO_DISTANCE3",
|
188
190
|
UINT2NUM(GRN_OP_GEO_DISTANCE3));
|
189
|
-
rb_define_const(
|
191
|
+
rb_define_const(rb_mGrnOperator, "GEO_DISTANCE4",
|
190
192
|
UINT2NUM(GRN_OP_GEO_DISTANCE4));
|
191
|
-
rb_define_const(
|
193
|
+
rb_define_const(rb_mGrnOperator, "GEO_WITHINP5",
|
192
194
|
UINT2NUM(GRN_OP_GEO_WITHINP5));
|
193
|
-
rb_define_const(
|
195
|
+
rb_define_const(rb_mGrnOperator, "GEO_WITHINP6",
|
194
196
|
UINT2NUM(GRN_OP_GEO_WITHINP6));
|
195
|
-
rb_define_const(
|
197
|
+
rb_define_const(rb_mGrnOperator, "GEO_WITHINP8",
|
196
198
|
UINT2NUM(GRN_OP_GEO_WITHINP8));
|
197
199
|
*/
|
198
200
|
}
|