rroonga 4.0.1-x86-mingw32 → 4.0.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.textile +25 -0
- data/ext/groonga/extconf.rb +2 -0
- data/ext/groonga/rb-grn-index-column.c +91 -0
- data/ext/groonga/rb-grn-object.c +3 -9
- data/ext/groonga/rb-grn-table.c +18 -24
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/dumper.rb +1 -1
- data/lib/groonga/patricia-trie.rb +4 -1
- data/lib/groonga/schema.rb +10 -4
- data/rroonga-build.rb +1 -1
- data/test/test-context.rb +8 -8
- data/test/test-database-dumper.rb +6 -6
- data/test/test-index-column.rb +9 -4
- data/test/test-schema-dumper.rb +6 -6
- data/test/test-schema.rb +32 -3
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga/plugin.h +19 -1
- data/vendor/local/include/groonga/groonga.h +2 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- 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/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +75 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +22 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +10 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +17 -149
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +73 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +26 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +165 -67
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +17 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +65 -65
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +102 -102
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +202 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +61 -60
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +53 -19
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +83 -87
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/others.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -151
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +286 -209
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +166 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +36 -35
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/reference/{pseudo_column.html → columns/pseudo.html} +25 -48
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +21 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +284 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +155 -95
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +254 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +43 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +48 -11
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +67 -65
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +19 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +75 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +22 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +10 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +17 -149
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +73 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +26 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +165 -67
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +17 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +65 -65
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +102 -102
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +203 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +61 -60
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +53 -19
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +83 -87
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +12 -9
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +27 -137
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +292 -210
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +167 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/{pseudo_column.html → columns/pseudo.html} +26 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +21 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +296 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +225 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +156 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +258 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +55 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +48 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +62 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference.html +72 -74
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +19 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/groonga/html/admin/index.html +0 -1
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -8
- data/vendor/local/share/man/ja/man1/groonga.1 +1032 -585
- data/vendor/local/share/man/man1/groonga.1 +1051 -607
- data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
- data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
- metadata +289 -278
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +0 -43
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +0 -184
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +0 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +0 -184
- data/vendor/local/share/groonga/html/admin/js/jquery.json-2.2.min.js +0 -31
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>1. Characteristics of Groonga — Groonga v4.0.1 documentation</title>
|
10
|
+
<title>1. Characteristics of Groonga — Groonga v4.0.1-127-g9422d50 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: './',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.1 documentation" href="index.html" />
|
28
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50 documentation" href="index.html" />
|
29
29
|
<link rel="next" title="2. Install" href="install.html" />
|
30
30
|
<link rel="prev" title="Groonga documentation" href="index.html" />
|
31
31
|
</head>
|
@@ -59,7 +59,7 @@
|
|
59
59
|
<li class="right" >
|
60
60
|
<a href="index.html" title="Groonga documentation"
|
61
61
|
accesskey="P">previous</a> |</li>
|
62
|
-
<li><a href="index.html">Groonga v4.0.1 documentation</a> »</li>
|
62
|
+
<li><a href="index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
63
63
|
</ul>
|
64
64
|
</div>
|
65
65
|
|
@@ -111,9 +111,9 @@
|
|
111
111
|
<h2>1.8. Groonga server<a class="headerlink" href="#groonga-server" title="Permalink to this headline">¶</a></h2>
|
112
112
|
<p>Groonga provides a built-in server command which supports HTTP, the memcached binary protocol and the Groonga Query Transfer Protocol (GQTP). Also, a Groonga server supports query caching, which significantly reduces response time for repeated read queries. Using this command, Groonga is available even on a server that does not allow you to install new libraries.</p>
|
113
113
|
</div>
|
114
|
-
<div class="section" id="
|
115
|
-
<h2>1.9.
|
116
|
-
<p>Groonga works not only as an independent column-oriented DBMS but also as storage engines of well-known DBMSs. For example, <a class="reference external" href="http://mroonga.org/">
|
114
|
+
<div class="section" id="mroonga-storage-engine">
|
115
|
+
<h2>1.9. Mroonga storage engine<a class="headerlink" href="#mroonga-storage-engine" title="Permalink to this headline">¶</a></h2>
|
116
|
+
<p>Groonga works not only as an independent column-oriented DBMS but also as storage engines of well-known DBMSs. For example, <a class="reference external" href="http://mroonga.org/">Mroonga</a> is a MySQL pluggable storage engine using Groonga. By using Mroonga, you can use Groonga for column-oriented storage and full text search. A combination of a built-in storage engine, MyISAM or InnoDB, and a Groonga-based full text search engine is also available. All the combinations have good and bad points and the best one depends on the application. See <a class="reference external" href="http://groonga.org/related-projects.html">related projects</a> for details.</p>
|
117
117
|
</div>
|
118
118
|
</div>
|
119
119
|
|
@@ -134,7 +134,7 @@
|
|
134
134
|
<li><a class="reference internal" href="#geo-location-latitude-and-longitude-search">1.6. Geo-location (latitude and longitude) search</a></li>
|
135
135
|
<li><a class="reference internal" href="#groonga-library">1.7. Groonga library</a></li>
|
136
136
|
<li><a class="reference internal" href="#groonga-server">1.8. Groonga server</a></li>
|
137
|
-
<li><a class="reference internal" href="#
|
137
|
+
<li><a class="reference internal" href="#mroonga-storage-engine">1.9. Mroonga storage engine</a></li>
|
138
138
|
</ul>
|
139
139
|
</li>
|
140
140
|
</ul>
|
@@ -181,7 +181,7 @@
|
|
181
181
|
<li class="right" >
|
182
182
|
<a href="index.html" title="Groonga documentation"
|
183
183
|
>previous</a> |</li>
|
184
|
-
<li><a href="index.html">Groonga v4.0.1 documentation</a> »</li>
|
184
|
+
<li><a href="index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
185
185
|
</ul>
|
186
186
|
</div>
|
187
187
|
<div class="footer" role="contentinfo">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>3. Community — Groonga v4.0.1 documentation</title>
|
10
|
+
<title>3. Community — Groonga v4.0.1-127-g9422d50 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: './',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.1 documentation" href="index.html" />
|
28
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50 documentation" href="index.html" />
|
29
29
|
<link rel="next" title="4. Tutorial" href="tutorial.html" />
|
30
30
|
<link rel="prev" title="2.8. Others" href="install/others.html" />
|
31
31
|
</head>
|
@@ -59,7 +59,7 @@
|
|
59
59
|
<li class="right" >
|
60
60
|
<a href="install/others.html" title="2.8. Others"
|
61
61
|
accesskey="P">previous</a> |</li>
|
62
|
-
<li><a href="index.html">Groonga v4.0.1 documentation</a> »</li>
|
62
|
+
<li><a href="index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
63
63
|
</ul>
|
64
64
|
</div>
|
65
65
|
|
@@ -155,7 +155,7 @@ Groonga related information.</p>
|
|
155
155
|
<li class="right" >
|
156
156
|
<a href="install/others.html" title="2.8. Others"
|
157
157
|
>previous</a> |</li>
|
158
|
-
<li><a href="index.html">Groonga v4.0.1 documentation</a> »</li>
|
158
|
+
<li><a href="index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
159
159
|
</ul>
|
160
160
|
</div>
|
161
161
|
<div class="footer" role="contentinfo">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>13.3.2. Groonga 通信アーキテクチャ — Groonga v4.0.1 documentation</title>
|
10
|
+
<title>13.3.2. Groonga 通信アーキテクチャ — Groonga v4.0.1-127-g9422d50 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,8 +25,8 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
-
<link rel="up" title="13.3.
|
28
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
|
30
30
|
<link rel="next" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針" href="cooperation.html" />
|
31
31
|
<link rel="prev" title="13.3.1. Repository" href="repository.html" />
|
32
32
|
</head>
|
@@ -60,9 +60,9 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="repository.html" title="13.3.1. Repository"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
64
64
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
65
|
-
<li><a href="../development.html" accesskey="U">13.3.
|
65
|
+
<li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -147,9 +147,9 @@ edgeがworkerに結びついていないときは、同時に、ctx_newという
|
|
147
147
|
<li class="right" >
|
148
148
|
<a href="repository.html" title="13.3.1. Repository"
|
149
149
|
>previous</a> |</li>
|
150
|
-
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
150
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
151
151
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
152
|
-
<li><a href="../development.html" >13.3.
|
152
|
+
<li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li>
|
153
153
|
</ul>
|
154
154
|
</div>
|
155
155
|
<div class="footer" role="contentinfo">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>13.3.3. ユーザーと協力して開発をうまく進めていくための指針 — Groonga v4.0.1 documentation</title>
|
10
|
+
<title>13.3.3. ユーザーと協力して開発をうまく進めていくための指針 — Groonga v4.0.1-127-g9422d50 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,9 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
-
<link rel="up" title="13.3.
|
30
|
-
<link rel="next" title="13.3.4.
|
28
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
|
30
|
+
<link rel="next" title="13.3.4. クエリの実現" href="query.html" />
|
31
31
|
<link rel="prev" title="13.3.2. Groonga 通信アーキテクチャ" href="com.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
@@ -55,14 +55,14 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="
|
58
|
+
<a href="query.html" title="13.3.4. クエリの実現"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
61
|
<a href="com.html" title="13.3.2. Groonga 通信アーキテクチャ"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
64
64
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
65
|
-
<li><a href="../development.html" accesskey="U">13.3.
|
65
|
+
<li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -171,8 +171,8 @@
|
|
171
171
|
<p class="topless"><a href="com.html"
|
172
172
|
title="previous chapter">13.3.2. Groonga 通信アーキテクチャ</a></p>
|
173
173
|
<h4>Next topic</h4>
|
174
|
-
<p class="topless"><a href="
|
175
|
-
title="next chapter">13.3.4.
|
174
|
+
<p class="topless"><a href="query.html"
|
175
|
+
title="next chapter">13.3.4. クエリの実現</a></p>
|
176
176
|
<div role="note" aria-label="source link">
|
177
177
|
<h3>This Page</h3>
|
178
178
|
<ul class="this-page-menu">
|
@@ -204,14 +204,14 @@
|
|
204
204
|
<a href="../../genindex.html" title="General Index"
|
205
205
|
>index</a></li>
|
206
206
|
<li class="right" >
|
207
|
-
<a href="
|
207
|
+
<a href="query.html" title="13.3.4. クエリの実現"
|
208
208
|
>next</a> |</li>
|
209
209
|
<li class="right" >
|
210
210
|
<a href="com.html" title="13.3.2. Groonga 通信アーキテクチャ"
|
211
211
|
>previous</a> |</li>
|
212
|
-
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
212
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
213
213
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
214
|
-
<li><a href="../development.html" >13.3.
|
214
|
+
<li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li>
|
215
215
|
</ul>
|
216
216
|
</div>
|
217
217
|
<div class="footer" role="contentinfo">
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>13.3.
|
10
|
+
<title>13.3.4. クエリの実現 — Groonga v4.0.1-127-g9422d50 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '4.0.1',
|
18
|
+
VERSION: '4.0.1-127-g9422d50',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,10 +25,10 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="Groonga v4.0.1 documentation" href="../../index.html" />
|
29
|
-
<link rel="up" title="13.3.
|
30
|
-
<link rel="next" title="13.3.
|
31
|
-
<link rel="prev" title="13.3.
|
28
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
|
30
|
+
<link rel="next" title="13.3.6. リリース手順" href="release.html" />
|
31
|
+
<link rel="prev" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針" href="cooperation.html" />
|
32
32
|
</head>
|
33
33
|
<body role="document">
|
34
34
|
<div class="header">
|
@@ -55,14 +55,14 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="release.html" title="13.3.
|
58
|
+
<a href="release.html" title="13.3.6. リリース手順"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="
|
61
|
+
<a href="cooperation.html" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
63
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
64
64
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
65
|
-
<li><a href="../development.html" accesskey="U">13.3.
|
65
|
+
<li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
68
68
|
|
@@ -72,27 +72,27 @@
|
|
72
72
|
<div class="body" role="main">
|
73
73
|
|
74
74
|
<div class="section" id="id1">
|
75
|
-
<h1>13.3.
|
75
|
+
<h1>13.3.4. クエリの実現<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<p>Groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取り出すことができます。必要な部分をGroongaのデータベースに問い合わせるためのクエリの表現と実行に関して、Groongaは複数の手段を用意しています。</p>
|
77
77
|
<div class="section" id="id2">
|
78
|
-
<h2>13.3.
|
78
|
+
<h2>13.3.4.1. クエリ実行のためのインタフェース<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
|
79
79
|
<p>Groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドインタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供しています。</p>
|
80
80
|
<p>クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する形で用意されています。以下に低レイヤなインタフェースから順に説明します。</p>
|
81
81
|
<div class="section" id="db-api">
|
82
|
-
<h3>13.3.
|
82
|
+
<h3>13.3.4.1.1. DB_API<a class="headerlink" href="#db-api" title="Permalink to this headline">¶</a></h3>
|
83
83
|
<p>DB_APIは、Groongaデータベースを操作するための一群のC言語向けAPI関数を提供します。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供します。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができます。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによって実現されています。</p>
|
84
84
|
</div>
|
85
85
|
<div class="section" id="grn-expr">
|
86
|
-
<h3>13.3.
|
86
|
+
<h3>13.3.4.1.2. grn_expr<a class="headerlink" href="#grn-expr" title="Permalink to this headline">¶</a></h3>
|
87
87
|
<p>grn_exprは、Groongaデータベースに対する検索処理や更新処理のための条件を表現するためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現することができます。grn_exprによって表現されたクエリを実行するためには、grn_table_select()関数を使用します。</p>
|
88
88
|
</div>
|
89
89
|
<div class="section" id="groonga">
|
90
|
-
<h3>13.3.
|
90
|
+
<h3>13.3.4.1.3. Groonga実行ファイル<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h3>
|
91
91
|
<p>Groongaデータベースを操作するためのコマンドインタープリタです。渡されたコマンドを解釈し、実行結果を返します。コマンドの実処理はC言語で記述されます。ユーザがC言語で定義した関数を新たなコマンドとしてGroonga実行ファイルに組み込むことができます。各コマンドはいくつかの文字列引数を受け取り、これをクエリとして解釈して実行します。引数をgrn_exprとして解釈するか、別の形式として解釈してDB_APIを使ってデータベースを操作するかはコマンド毎に自由に決めることができます。</p>
|
92
92
|
</div>
|
93
93
|
</div>
|
94
94
|
<div class="section" id="id3">
|
95
|
-
<h2>13.3.
|
95
|
+
<h2>13.3.4.2. grn_exprで表現できるクエリ<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
|
96
96
|
<p>grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算子で結合したものです。</p>
|
97
97
|
<p>論理演算子は、以下の3種類があります。</p>
|
98
98
|
<div class="highlight-none"><div class="highlight"><pre>&& (論理積)
|
@@ -116,7 +116,7 @@ suffix()
|
|
116
116
|
</div>
|
117
117
|
</div>
|
118
118
|
<div class="section" id="grn-table-select">
|
119
|
-
<h2>13.3.
|
119
|
+
<h2>13.3.4.3. grn_table_select()<a class="headerlink" href="#grn-table-select" title="Permalink to this headline">¶</a></h2>
|
120
120
|
<p>grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使います。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映するかを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。</p>
|
121
121
|
<div class="highlight-none"><div class="highlight"><pre>GRN_OP_OR
|
122
122
|
GRN_OP_AND
|
@@ -128,34 +128,34 @@ GRN_OP_ADJUST
|
|
128
128
|
<p>grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わせて可能な限り高速に指定されたクエリを実行しようとします。</p>
|
129
129
|
</div>
|
130
130
|
<div class="section" id="id4">
|
131
|
-
<h2>13.3.
|
131
|
+
<h2>13.3.4.4. 関係式<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
|
132
132
|
<p>関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係として表現します。いずれの関係式も、その関係が成り立ったときに評価されるcallback、コールバック関数に渡されるargとを引数として指定することができます。callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされます。主な関係式について説明します。</p>
|
133
133
|
<div class="section" id="equal-v1-v2-arg-callback">
|
134
|
-
<h3>13.3.
|
134
|
+
<h3>13.3.4.4.1. equal(v1, v2, arg, callback)<a class="headerlink" href="#equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
135
135
|
<p>v1の値とv2の値が等しいことを表します。</p>
|
136
136
|
</div>
|
137
137
|
<div class="section" id="not-equal-v1-v2-arg-callback">
|
138
|
-
<h3>13.3.
|
138
|
+
<h3>13.3.4.4.2. not_equal(v1, v2, arg, callback)<a class="headerlink" href="#not-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
139
139
|
<p>v1の値とv2の値が等しくないことを表します。</p>
|
140
140
|
</div>
|
141
141
|
<div class="section" id="less-v1-v2-arg-callback">
|
142
|
-
<h3>13.3.
|
142
|
+
<h3>13.3.4.4.3. less(v1, v2, arg, callback)<a class="headerlink" href="#less-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
143
143
|
<p>v1の値がv2の値よりも小さいことを表します。</p>
|
144
144
|
</div>
|
145
145
|
<div class="section" id="greater-v1-v2-arg-callback">
|
146
|
-
<h3>13.3.
|
146
|
+
<h3>13.3.4.4.4. greater(v1, v2, arg, callback)<a class="headerlink" href="#greater-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
147
147
|
<p>v1の値がv2の値よりも大きいことを表します。</p>
|
148
148
|
</div>
|
149
149
|
<div class="section" id="less-equal-v1-v2-arg-callback">
|
150
|
-
<h3>13.3.
|
150
|
+
<h3>13.3.4.4.5. less_equal(v1, v2, arg, callback)<a class="headerlink" href="#less-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
151
151
|
<p>v1の値がv2の値と等しいか小さいことを表します。</p>
|
152
152
|
</div>
|
153
153
|
<div class="section" id="greater-equal-v1-v2-arg-callback">
|
154
|
-
<h3>13.3.
|
154
|
+
<h3>13.3.4.4.6. greater_equal(v1, v2, arg, callback)<a class="headerlink" href="#greater-equal-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
155
155
|
<p>v1の値がv2の値と等しいか大きいことを表します。</p>
|
156
156
|
</div>
|
157
157
|
<div class="section" id="contain-v1-v2-mode-arg-callback">
|
158
|
-
<h3>13.3.
|
158
|
+
<h3>13.3.4.4.7. contain(v1, v2, mode, arg, callback)<a class="headerlink" href="#contain-v1-v2-mode-arg-callback" title="Permalink to this headline">¶</a></h3>
|
159
159
|
<p>v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されるとき、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれかを指定することができます。</p>
|
160
160
|
<div class="highlight-none"><div class="highlight"><pre>EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致する(デフォルト)
|
161
161
|
UNSPLIT: v2の値は要素に分解しない
|
@@ -166,28 +166,28 @@ PARTIAL: v1の値の要素がv2の値に中間一致する
|
|
166
166
|
</div>
|
167
167
|
</div>
|
168
168
|
<div class="section" id="near-v1-v2-arg-callback">
|
169
|
-
<h3>13.3.
|
169
|
+
<h3>13.3.4.4.8. near(v1, v2, arg, callback)<a class="headerlink" href="#near-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
170
170
|
<p>v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配列を渡します)</p>
|
171
171
|
</div>
|
172
172
|
<div class="section" id="similar-v1-v2-arg-callback">
|
173
|
-
<h3>13.3.
|
173
|
+
<h3>13.3.4.4.9. similar(v1, v2, arg, callback)<a class="headerlink" href="#similar-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
174
174
|
<p>v1の値とv2の値が類似していることを表します。</p>
|
175
175
|
</div>
|
176
176
|
<div class="section" id="prefix-v1-v2-arg-callback">
|
177
|
-
<h3>13.3.
|
177
|
+
<h3>13.3.4.4.10. prefix(v1, v2, arg, callback)<a class="headerlink" href="#prefix-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
178
178
|
<p>v1の値がv2の値に対して前方一致することを表します。</p>
|
179
179
|
</div>
|
180
180
|
<div class="section" id="suffix-v1-v2-arg-callback">
|
181
|
-
<h3>13.3.
|
181
|
+
<h3>13.3.4.4.11. suffix(v1, v2, arg, callback)<a class="headerlink" href="#suffix-v1-v2-arg-callback" title="Permalink to this headline">¶</a></h3>
|
182
182
|
<p>v1の値がv2の値に対して後方一致することを表します。</p>
|
183
183
|
</div>
|
184
184
|
</div>
|
185
185
|
</div>
|
186
186
|
<div class="section" id="id5">
|
187
|
-
<h1>13.3.
|
187
|
+
<h1>13.3.5. クエリの実例<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h1>
|
188
188
|
<p>grn_exprを使って様々な検索クエリを表現することができます。</p>
|
189
189
|
<div class="section" id="id6">
|
190
|
-
<h2>13.3.
|
190
|
+
<h2>13.3.5.1. 検索例1<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
|
191
191
|
<div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
|
192
192
|
grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
|
193
193
|
grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1);
|
@@ -199,7 +199,7 @@ result = grn_table_select(ctx, table, query, NULL, GRN_OP_OR);
|
|
199
199
|
<p>tableのcolumnの値がstringを含むレコードをresultに返します。columnの値が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1のみがヒットします。</p>
|
200
200
|
</div>
|
201
201
|
<div class="section" id="id7">
|
202
|
-
<h2>13.3.
|
202
|
+
<h2>13.3.5.2. 検索例2<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
|
203
203
|
<div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
|
204
204
|
grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
|
205
205
|
grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1);
|
@@ -223,7 +223,7 @@ grn_obj_close(ctx, query);
|
|
223
223
|
<p>tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるスコア値にscore1を積算してresultにセットします。次に、resultにセットされたレコードのうち、column2の値がstringにexactモードでヒットするレコードについては、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。</p>
|
224
224
|
</div>
|
225
225
|
<div class="section" id="id8">
|
226
|
-
<h2>13.3.
|
226
|
+
<h2>13.3.5.3. 検索例3<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
|
227
227
|
<div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
|
228
228
|
grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
|
229
229
|
grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1);
|
@@ -249,7 +249,7 @@ if (grn_table_size(ctx, result) < t1) {
|
|
249
249
|
<p>tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるスコア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコア値にscore2を積算してresultに追加します。</p>
|
250
250
|
</div>
|
251
251
|
<div class="section" id="id9">
|
252
|
-
<h2>13.3.
|
252
|
+
<h2>13.3.5.4. 検索例4<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
|
253
253
|
<div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
|
254
254
|
grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
|
255
255
|
grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1);
|
@@ -271,46 +271,46 @@ columnの値が'needle'であるレコードr1と、columnの値が'haystack'で
|
|
271
271
|
<div class="sphinxsidebarwrapper">
|
272
272
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
273
273
|
<ul>
|
274
|
-
<li><a class="reference internal" href="#">13.3.
|
275
|
-
<li><a class="reference internal" href="#id2">13.3.
|
276
|
-
<li><a class="reference internal" href="#db-api">13.3.
|
277
|
-
<li><a class="reference internal" href="#grn-expr">13.3.
|
278
|
-
<li><a class="reference internal" href="#groonga">13.3.
|
274
|
+
<li><a class="reference internal" href="#">13.3.4. クエリの実現</a><ul>
|
275
|
+
<li><a class="reference internal" href="#id2">13.3.4.1. クエリ実行のためのインタフェース</a><ul>
|
276
|
+
<li><a class="reference internal" href="#db-api">13.3.4.1.1. DB_API</a></li>
|
277
|
+
<li><a class="reference internal" href="#grn-expr">13.3.4.1.2. grn_expr</a></li>
|
278
|
+
<li><a class="reference internal" href="#groonga">13.3.4.1.3. Groonga実行ファイル</a></li>
|
279
279
|
</ul>
|
280
280
|
</li>
|
281
|
-
<li><a class="reference internal" href="#id3">13.3.
|
282
|
-
<li><a class="reference internal" href="#grn-table-select">13.3.
|
283
|
-
<li><a class="reference internal" href="#id4">13.3.
|
284
|
-
<li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.3.
|
285
|
-
<li><a class="reference internal" href="#not-equal-v1-v2-arg-callback">13.3.
|
286
|
-
<li><a class="reference internal" href="#less-v1-v2-arg-callback">13.3.
|
287
|
-
<li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.3.
|
288
|
-
<li><a class="reference internal" href="#less-equal-v1-v2-arg-callback">13.3.
|
289
|
-
<li><a class="reference internal" href="#greater-equal-v1-v2-arg-callback">13.3.
|
290
|
-
<li><a class="reference internal" href="#contain-v1-v2-mode-arg-callback">13.3.
|
291
|
-
<li><a class="reference internal" href="#near-v1-v2-arg-callback">13.3.
|
292
|
-
<li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.3.
|
293
|
-
<li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.3.
|
294
|
-
<li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.3.
|
281
|
+
<li><a class="reference internal" href="#id3">13.3.4.2. grn_exprで表現できるクエリ</a></li>
|
282
|
+
<li><a class="reference internal" href="#grn-table-select">13.3.4.3. grn_table_select()</a></li>
|
283
|
+
<li><a class="reference internal" href="#id4">13.3.4.4. 関係式</a><ul>
|
284
|
+
<li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.3.4.4.1. equal(v1, v2, arg, callback)</a></li>
|
285
|
+
<li><a class="reference internal" href="#not-equal-v1-v2-arg-callback">13.3.4.4.2. not_equal(v1, v2, arg, callback)</a></li>
|
286
|
+
<li><a class="reference internal" href="#less-v1-v2-arg-callback">13.3.4.4.3. less(v1, v2, arg, callback)</a></li>
|
287
|
+
<li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.3.4.4.4. greater(v1, v2, arg, callback)</a></li>
|
288
|
+
<li><a class="reference internal" href="#less-equal-v1-v2-arg-callback">13.3.4.4.5. less_equal(v1, v2, arg, callback)</a></li>
|
289
|
+
<li><a class="reference internal" href="#greater-equal-v1-v2-arg-callback">13.3.4.4.6. greater_equal(v1, v2, arg, callback)</a></li>
|
290
|
+
<li><a class="reference internal" href="#contain-v1-v2-mode-arg-callback">13.3.4.4.7. contain(v1, v2, mode, arg, callback)</a></li>
|
291
|
+
<li><a class="reference internal" href="#near-v1-v2-arg-callback">13.3.4.4.8. near(v1, v2, arg, callback)</a></li>
|
292
|
+
<li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.3.4.4.9. similar(v1, v2, arg, callback)</a></li>
|
293
|
+
<li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.3.4.4.10. prefix(v1, v2, arg, callback)</a></li>
|
294
|
+
<li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.3.4.4.11. suffix(v1, v2, arg, callback)</a></li>
|
295
295
|
</ul>
|
296
296
|
</li>
|
297
297
|
</ul>
|
298
298
|
</li>
|
299
|
-
<li><a class="reference internal" href="#id5">13.3.
|
300
|
-
<li><a class="reference internal" href="#id6">13.3.
|
301
|
-
<li><a class="reference internal" href="#id7">13.3.
|
302
|
-
<li><a class="reference internal" href="#id8">13.3.
|
303
|
-
<li><a class="reference internal" href="#id9">13.3.
|
299
|
+
<li><a class="reference internal" href="#id5">13.3.5. クエリの実例</a><ul>
|
300
|
+
<li><a class="reference internal" href="#id6">13.3.5.1. 検索例1</a></li>
|
301
|
+
<li><a class="reference internal" href="#id7">13.3.5.2. 検索例2</a></li>
|
302
|
+
<li><a class="reference internal" href="#id8">13.3.5.3. 検索例3</a></li>
|
303
|
+
<li><a class="reference internal" href="#id9">13.3.5.4. 検索例4</a></li>
|
304
304
|
</ul>
|
305
305
|
</li>
|
306
306
|
</ul>
|
307
307
|
|
308
308
|
<h4>Previous topic</h4>
|
309
|
-
<p class="topless"><a href="
|
310
|
-
title="previous chapter">13.3.
|
309
|
+
<p class="topless"><a href="cooperation.html"
|
310
|
+
title="previous chapter">13.3.3. ユーザーと協力して開発をうまく進めていくための指針</a></p>
|
311
311
|
<h4>Next topic</h4>
|
312
312
|
<p class="topless"><a href="release.html"
|
313
|
-
title="next chapter">13.3.
|
313
|
+
title="next chapter">13.3.6. リリース手順</a></p>
|
314
314
|
<div role="note" aria-label="source link">
|
315
315
|
<h3>This Page</h3>
|
316
316
|
<ul class="this-page-menu">
|
@@ -342,14 +342,14 @@ columnの値が'needle'であるレコードr1と、columnの値が'haystack'で
|
|
342
342
|
<a href="../../genindex.html" title="General Index"
|
343
343
|
>index</a></li>
|
344
344
|
<li class="right" >
|
345
|
-
<a href="release.html" title="13.3.
|
345
|
+
<a href="release.html" title="13.3.6. リリース手順"
|
346
346
|
>next</a> |</li>
|
347
347
|
<li class="right" >
|
348
|
-
<a href="
|
348
|
+
<a href="cooperation.html" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針"
|
349
349
|
>previous</a> |</li>
|
350
|
-
<li><a href="../../index.html">Groonga v4.0.1 documentation</a> »</li>
|
350
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50 documentation</a> »</li>
|
351
351
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
352
|
-
<li><a href="../development.html" >13.3.
|
352
|
+
<li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li>
|
353
353
|
</ul>
|
354
354
|
</div>
|
355
355
|
<div class="footer" role="contentinfo">
|