rroonga 4.0.1-x86-mingw32 → 4.0.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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. Groongaの特徴 — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>1. Groongaの特徴 — Groonga v4.0.1-127-g9422d50ドキュメント</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
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="index.html" />
|
30
30
|
<link rel="next" title="2. インストール" href="install.html" />
|
31
31
|
<link rel="prev" title="Groonga ドキュメント" href="index.html" />
|
32
32
|
</head>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="index.html" title="Groonga ドキュメント"
|
62
62
|
accesskey="P">前へ</a> |</li>
|
63
|
-
<li><a href="index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
63
|
+
<li><a href="index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
64
64
|
</ul>
|
65
65
|
</div>
|
66
66
|
|
@@ -110,11 +110,11 @@
|
|
110
110
|
</div>
|
111
111
|
<div class="section" id="groonga-server">
|
112
112
|
<h2>1.8. Groonga サーバ<a class="headerlink" href="#groonga-server" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
113
|
-
<p>Groonga にはサーバ機能があるため、レンタルサーバなどの新しいライブラリをインストールできない環境においても利用できます。対応しているのは HTTP, memcached binary
|
113
|
+
<p>Groonga にはサーバ機能があるため、レンタルサーバなどの新しいライブラリをインストールできない環境においても利用できます。対応しているのは HTTP, memcached binary プロトコル、および Groonga の独自プロトコルである GQTP(Groonga Query Transfer Protocol) です。サーバとして利用するときはクエリのキャッシュ機能が有効になるため、同じクエリを受け取ったときは応答時間が短くなるという特徴があります。</p>
|
114
114
|
</div>
|
115
|
-
<div class="section" id="
|
116
|
-
<h2>1.9.
|
117
|
-
<p>Groonga は独自のカラムストアを持つ列指向のデータベースとしての側面を持っていますが、既存の RDBMS のストレージエンジンとして利用することもできます。たとえば、Groonga をベースとする MySQL のストレージエンジンとして <a class="reference external" href="http://mroonga.org/ja/">
|
115
|
+
<div class="section" id="mroonga-storage-engine">
|
116
|
+
<h2>1.9. Mroonga ストレージエンジン<a class="headerlink" href="#mroonga-storage-engine" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
117
|
+
<p>Groonga は独自のカラムストアを持つ列指向のデータベースとしての側面を持っていますが、既存の RDBMS のストレージエンジンとして利用することもできます。たとえば、Groonga をベースとする MySQL のストレージエンジンとして <a class="reference external" href="http://mroonga.org/ja/">Mroonga</a> が開発されています。Mroonga は MySQL のプラグインとして動的にロードすることが可能であり、Groonga のカラムストアをストレージとして利用したり、全文検索エンジンとして Groonga を MyISAM や InnoDB と連携させたりすることができます。Groonga 単体での利用、および MyISAM, InnoDB との連携には一長一短があるので、用途に応じて適切な組み合わせを選ぶことが大切です。詳しくは <a class="reference external" href="http://groonga.org/ja/related-projects.html">関連プロジェクト</a> を参照してください。</p>
|
118
118
|
</div>
|
119
119
|
</div>
|
120
120
|
|
@@ -135,7 +135,7 @@
|
|
135
135
|
<li><a class="reference internal" href="#geo-location-latitude-and-longitude-search">1.6. 位置情報(緯度・経度)検索</a></li>
|
136
136
|
<li><a class="reference internal" href="#groonga-library">1.7. Groonga ライブラリ</a></li>
|
137
137
|
<li><a class="reference internal" href="#groonga-server">1.8. Groonga サーバ</a></li>
|
138
|
-
<li><a class="reference internal" href="#
|
138
|
+
<li><a class="reference internal" href="#mroonga-storage-engine">1.9. Mroonga ストレージエンジン</a></li>
|
139
139
|
</ul>
|
140
140
|
</li>
|
141
141
|
</ul>
|
@@ -182,7 +182,7 @@
|
|
182
182
|
<li class="right" >
|
183
183
|
<a href="index.html" title="Groonga ドキュメント"
|
184
184
|
>前へ</a> |</li>
|
185
|
-
<li><a href="index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
185
|
+
<li><a href="index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
186
186
|
</ul>
|
187
187
|
</div>
|
188
188
|
<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. コミュニティ — Groonga v4.0.1ドキュメント</title>
|
10
|
+
<title>3. コミュニティ — Groonga v4.0.1-127-g9422d50ドキュメント</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
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="index.html" />
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="index.html" />
|
30
30
|
<link rel="next" title="4. チュートリアル" href="tutorial.html" />
|
31
31
|
<link rel="prev" title="2.8. その他" href="install/others.html" />
|
32
32
|
</head>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="install/others.html" title="2.8. その他"
|
62
62
|
accesskey="P">前へ</a> |</li>
|
63
|
-
<li><a href="index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
63
|
+
<li><a href="index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
64
64
|
</ul>
|
65
65
|
</div>
|
66
66
|
|
@@ -152,7 +152,7 @@
|
|
152
152
|
<li class="right" >
|
153
153
|
<a href="install/others.html" title="2.8. その他"
|
154
154
|
>前へ</a> |</li>
|
155
|
-
<li><a href="index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
155
|
+
<li><a href="index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
156
156
|
</ul>
|
157
157
|
</div>
|
158
158
|
<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ドキュメント</title>
|
10
|
+
<title>13.3.2. Groonga 通信アーキテクチャ — Groonga v4.0.1-127-g9422d50ドキュメント</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
|
@@ -26,8 +26,8 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../../index.html" />
|
30
|
-
<link rel="up" title="13.3.
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
|
31
31
|
<link rel="next" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針" href="cooperation.html" />
|
32
32
|
<link rel="prev" title="13.3.1. リポジトリ" href="repository.html" />
|
33
33
|
</head>
|
@@ -61,9 +61,9 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="repository.html" title="13.3.1. リポジトリ"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../contribution.html" >13. Groongaへのコントリビュート方法</a> »</li>
|
66
|
-
<li><a href="../development.html" accesskey="U">13.3.
|
66
|
+
<li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -148,9 +148,9 @@ edgeがworkerに結びついていないときは、同時に、ctx_newという
|
|
148
148
|
<li class="right" >
|
149
149
|
<a href="repository.html" title="13.3.1. リポジトリ"
|
150
150
|
>前へ</a> |</li>
|
151
|
-
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
151
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
152
152
|
<li><a href="../../contribution.html" >13. Groongaへのコントリビュート方法</a> »</li>
|
153
|
-
<li><a href="../development.html" >13.3.
|
153
|
+
<li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li>
|
154
154
|
</ul>
|
155
155
|
</div>
|
156
156
|
<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ドキュメント</title>
|
10
|
+
<title>13.3.3. ユーザーと協力して開発をうまく進めていくための指針 — Groonga v4.0.1-127-g9422d50ドキュメント</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
|
@@ -26,9 +26,9 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../../index.html" />
|
30
|
-
<link rel="up" title="13.3.
|
31
|
-
<link rel="next" title="13.3.4.
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
|
31
|
+
<link rel="next" title="13.3.4. クエリの実現" href="query.html" />
|
32
32
|
<link rel="prev" title="13.3.2. Groonga 通信アーキテクチャ" href="com.html" />
|
33
33
|
</head>
|
34
34
|
<body role="document">
|
@@ -56,14 +56,14 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="
|
59
|
+
<a href="query.html" title="13.3.4. クエリの実現"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
62
|
<a href="com.html" title="13.3.2. Groonga 通信アーキテクチャ"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../contribution.html" >13. Groongaへのコントリビュート方法</a> »</li>
|
66
|
-
<li><a href="../development.html" accesskey="U">13.3.
|
66
|
+
<li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -172,8 +172,8 @@
|
|
172
172
|
<p class="topless"><a href="com.html"
|
173
173
|
title="前の章へ">13.3.2. Groonga 通信アーキテクチャ</a></p>
|
174
174
|
<h4>次のトピックへ</h4>
|
175
|
-
<p class="topless"><a href="
|
176
|
-
title="次の章へ">13.3.4.
|
175
|
+
<p class="topless"><a href="query.html"
|
176
|
+
title="次の章へ">13.3.4. クエリの実現</a></p>
|
177
177
|
<div role="note" aria-label="source link">
|
178
178
|
<h3>このページ</h3>
|
179
179
|
<ul class="this-page-menu">
|
@@ -205,14 +205,14 @@
|
|
205
205
|
<a href="../../genindex.html" title="総合索引"
|
206
206
|
>索引</a></li>
|
207
207
|
<li class="right" >
|
208
|
-
<a href="
|
208
|
+
<a href="query.html" title="13.3.4. クエリの実現"
|
209
209
|
>次へ</a> |</li>
|
210
210
|
<li class="right" >
|
211
211
|
<a href="com.html" title="13.3.2. Groonga 通信アーキテクチャ"
|
212
212
|
>前へ</a> |</li>
|
213
|
-
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
213
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
214
214
|
<li><a href="../../contribution.html" >13. Groongaへのコントリビュート方法</a> »</li>
|
215
|
-
<li><a href="../development.html" >13.3.
|
215
|
+
<li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li>
|
216
216
|
</ul>
|
217
217
|
</div>
|
218
218
|
<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ドキュメント</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
|
@@ -26,10 +26,10 @@
|
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.1ドキュメント" href="../../index.html" />
|
30
|
-
<link rel="up" title="13.3.
|
31
|
-
<link rel="next" title="13.3.
|
32
|
-
<link rel="prev" title="13.3.
|
29
|
+
<link rel="top" title="Groonga v4.0.1-127-g9422d50ドキュメント" href="../../index.html" />
|
30
|
+
<link rel="up" title="13.3. Groonga開発者向け情報" href="../development.html" />
|
31
|
+
<link rel="next" title="13.3.6. リリース手順" href="release.html" />
|
32
|
+
<link rel="prev" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針" href="cooperation.html" />
|
33
33
|
</head>
|
34
34
|
<body role="document">
|
35
35
|
<div class="header">
|
@@ -56,14 +56,14 @@
|
|
56
56
|
<a href="../../genindex.html" title="総合索引"
|
57
57
|
accesskey="I">索引</a></li>
|
58
58
|
<li class="right" >
|
59
|
-
<a href="release.html" title="13.3.
|
59
|
+
<a href="release.html" title="13.3.6. リリース手順"
|
60
60
|
accesskey="N">次へ</a> |</li>
|
61
61
|
<li class="right" >
|
62
|
-
<a href="
|
62
|
+
<a href="cooperation.html" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
64
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
65
65
|
<li><a href="../../contribution.html" >13. Groongaへのコントリビュート方法</a> »</li>
|
66
|
-
<li><a href="../development.html" accesskey="U">13.3.
|
66
|
+
<li><a href="../development.html" accesskey="U">13.3. Groonga開発者向け情報</a> »</li>
|
67
67
|
</ul>
|
68
68
|
</div>
|
69
69
|
|
@@ -73,27 +73,27 @@
|
|
73
73
|
<div class="body" role="main">
|
74
74
|
|
75
75
|
<div class="section" id="id1">
|
76
|
-
<h1>13.3.
|
76
|
+
<h1>13.3.4. クエリの実現<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
77
77
|
<p>Groongaのデータベースには大量のデータを格納し、その中から必要な部分を高速に取り出すことができます。必要な部分をGroongaのデータベースに問い合わせるためのクエリの表現と実行に関して、Groongaは複数の手段を用意しています。</p>
|
78
78
|
<div class="section" id="id2">
|
79
|
-
<h2>13.3.
|
79
|
+
<h2>13.3.4.1. クエリ実行のためのインタフェース<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
80
80
|
<p>Groongaは低機能で単純なライブラリインタフェースから、高機能で複雑なコマンドインタフェースまでいくつかの階層的なインタフェースをユーザプログラムに提供しています。</p>
|
81
81
|
<p>クエリ実行のためのインタフェースも階層的なインタフェースのそれぞれに対応する形で用意されています。以下に低レイヤなインタフェースから順に説明します。</p>
|
82
82
|
<div class="section" id="db-api">
|
83
|
-
<h3>13.3.
|
83
|
+
<h3>13.3.4.1.1. DB_API<a class="headerlink" href="#db-api" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
84
84
|
<p>DB_APIは、Groongaデータベースを操作するための一群のC言語向けAPI関数を提供します。DB_APIはデータベースを構成する個々の部分に対する単純な操作関数を提供します。DB_APIの機能を組み合わせることによって複雑なクエリを実行することができます。後述のすべてのクエリインタフェースはDB_APIの機能を組み合わせることによって実現されています。</p>
|
85
85
|
</div>
|
86
86
|
<div class="section" id="grn-expr">
|
87
|
-
<h3>13.3.
|
87
|
+
<h3>13.3.4.1.2. grn_expr<a class="headerlink" href="#grn-expr" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
88
88
|
<p>grn_exprは、Groongaデータベースに対する検索処理や更新処理のための条件を表現するためのデータ構造で、複数の条件を再帰的に組み合わせてより複雑な条件を表現することができます。grn_exprによって表現されたクエリを実行するためには、grn_table_select()関数を使用します。</p>
|
89
89
|
</div>
|
90
90
|
<div class="section" id="groonga">
|
91
|
-
<h3>13.3.
|
91
|
+
<h3>13.3.4.1.3. Groonga実行ファイル<a class="headerlink" href="#groonga" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
92
92
|
<p>Groongaデータベースを操作するためのコマンドインタープリタです。渡されたコマンドを解釈し、実行結果を返します。コマンドの実処理はC言語で記述されます。ユーザがC言語で定義した関数を新たなコマンドとしてGroonga実行ファイルに組み込むことができます。各コマンドはいくつかの文字列引数を受け取り、これをクエリとして解釈して実行します。引数をgrn_exprとして解釈するか、別の形式として解釈してDB_APIを使ってデータベースを操作するかはコマンド毎に自由に決めることができます。</p>
|
93
93
|
</div>
|
94
94
|
</div>
|
95
95
|
<div class="section" id="id3">
|
96
|
-
<h2>13.3.
|
96
|
+
<h2>13.3.4.2. grn_exprで表現できるクエリ<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
97
97
|
<p>grn_exprは代入や関数呼び出しのような様々な操作を表現できますが、この中で検索クエリを表現するgrn_exprのことを特に条件式とよびます。条件式を構成する個々の要素を関係式と呼びます。条件式は一個以上の関係式か、あるいは条件式を論理演算子で結合したものです。</p>
|
98
98
|
<p>論理演算子は、以下の3種類があります。</p>
|
99
99
|
<div class="highlight-none"><div class="highlight"><pre>&& (論理積)
|
@@ -117,7 +117,7 @@ suffix()
|
|
117
117
|
</div>
|
118
118
|
</div>
|
119
119
|
<div class="section" id="grn-table-select">
|
120
|
-
<h2>13.3.
|
120
|
+
<h2>13.3.4.3. grn_table_select()<a class="headerlink" href="#grn-table-select" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
121
121
|
<p>grn_table_select()関数は、grn_exprで表現された検索クエリを実行するときに使います。引数として、検索対象となるテーブル、クエリを表すgrn_expr、検索結果を格納するテーブル、それに検索にマッチしたレコードを検索結果にどのように反映するかを指定する演算子を渡します。演算子と指定できるのは下記の4種類です。</p>
|
122
122
|
<div class="highlight-none"><div class="highlight"><pre>GRN_OP_OR
|
123
123
|
GRN_OP_AND
|
@@ -129,34 +129,34 @@ GRN_OP_ADJUST
|
|
129
129
|
<p>grn_table_select()は、データベース上に定義されたテーブルや索引などを組み合わせて可能な限り高速に指定されたクエリを実行しようとします。</p>
|
130
130
|
</div>
|
131
131
|
<div class="section" id="id4">
|
132
|
-
<h2>13.3.
|
132
|
+
<h2>13.3.4.4. 関係式<a class="headerlink" href="#id4" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
133
133
|
<p>関係式は、検索しようとしているデータが満たすべき条件を、指定した値の間の関係として表現します。いずれの関係式も、その関係が成り立ったときに評価されるcallback、コールバック関数に渡されるargとを引数として指定することができます。callbackが与えられず、argのみが数値で与えられた場合はスコア値の係数とみなされます。主な関係式について説明します。</p>
|
134
134
|
<div class="section" id="equal-v1-v2-arg-callback">
|
135
|
-
<h3>13.3.
|
135
|
+
<h3>13.3.4.4.1. equal(v1, v2, arg, callback)<a class="headerlink" href="#equal-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
136
136
|
<p>v1の値とv2の値が等しいことを表します。</p>
|
137
137
|
</div>
|
138
138
|
<div class="section" id="not-equal-v1-v2-arg-callback">
|
139
|
-
<h3>13.3.
|
139
|
+
<h3>13.3.4.4.2. not_equal(v1, v2, arg, callback)<a class="headerlink" href="#not-equal-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
140
140
|
<p>v1の値とv2の値が等しくないことを表します。</p>
|
141
141
|
</div>
|
142
142
|
<div class="section" id="less-v1-v2-arg-callback">
|
143
|
-
<h3>13.3.
|
143
|
+
<h3>13.3.4.4.3. less(v1, v2, arg, callback)<a class="headerlink" href="#less-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
144
144
|
<p>v1の値がv2の値よりも小さいことを表します。</p>
|
145
145
|
</div>
|
146
146
|
<div class="section" id="greater-v1-v2-arg-callback">
|
147
|
-
<h3>13.3.
|
147
|
+
<h3>13.3.4.4.4. greater(v1, v2, arg, callback)<a class="headerlink" href="#greater-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
148
148
|
<p>v1の値がv2の値よりも大きいことを表します。</p>
|
149
149
|
</div>
|
150
150
|
<div class="section" id="less-equal-v1-v2-arg-callback">
|
151
|
-
<h3>13.3.
|
151
|
+
<h3>13.3.4.4.5. less_equal(v1, v2, arg, callback)<a class="headerlink" href="#less-equal-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
152
152
|
<p>v1の値がv2の値と等しいか小さいことを表します。</p>
|
153
153
|
</div>
|
154
154
|
<div class="section" id="greater-equal-v1-v2-arg-callback">
|
155
|
-
<h3>13.3.
|
155
|
+
<h3>13.3.4.4.6. greater_equal(v1, v2, arg, callback)<a class="headerlink" href="#greater-equal-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
156
156
|
<p>v1の値がv2の値と等しいか大きいことを表します。</p>
|
157
157
|
</div>
|
158
158
|
<div class="section" id="contain-v1-v2-mode-arg-callback">
|
159
|
-
<h3>13.3.
|
159
|
+
<h3>13.3.4.4.7. contain(v1, v2, mode, arg, callback)<a class="headerlink" href="#contain-v1-v2-mode-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
160
160
|
<p>v1の値がv2の値を含んでいることを表します。また、v1の値が要素に分解されるとき、それぞれの要素に対して二つ目の要素が一致するためのmodeとして下記のいずれかを指定することができます。</p>
|
161
161
|
<div class="highlight-none"><div class="highlight"><pre>EXACT: v2の値もv1の値と同様に要素に分解したとき、それぞれの要素が完全に一致する(デフォルト)
|
162
162
|
UNSPLIT: v2の値は要素に分解しない
|
@@ -167,28 +167,28 @@ PARTIAL: v1の値の要素がv2の値に中間一致する
|
|
167
167
|
</div>
|
168
168
|
</div>
|
169
169
|
<div class="section" id="near-v1-v2-arg-callback">
|
170
|
-
<h3>13.3.
|
170
|
+
<h3>13.3.4.4.8. near(v1, v2, arg, callback)<a class="headerlink" href="#near-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
171
171
|
<p>v1の値の中に、v2の値の要素が接近して含まれていることを表します。(v2には値の配列を渡します)</p>
|
172
172
|
</div>
|
173
173
|
<div class="section" id="similar-v1-v2-arg-callback">
|
174
|
-
<h3>13.3.
|
174
|
+
<h3>13.3.4.4.9. similar(v1, v2, arg, callback)<a class="headerlink" href="#similar-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
175
175
|
<p>v1の値とv2の値が類似していることを表します。</p>
|
176
176
|
</div>
|
177
177
|
<div class="section" id="prefix-v1-v2-arg-callback">
|
178
|
-
<h3>13.3.
|
178
|
+
<h3>13.3.4.4.10. prefix(v1, v2, arg, callback)<a class="headerlink" href="#prefix-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
179
179
|
<p>v1の値がv2の値に対して前方一致することを表します。</p>
|
180
180
|
</div>
|
181
181
|
<div class="section" id="suffix-v1-v2-arg-callback">
|
182
|
-
<h3>13.3.
|
182
|
+
<h3>13.3.4.4.11. suffix(v1, v2, arg, callback)<a class="headerlink" href="#suffix-v1-v2-arg-callback" title="このヘッドラインへのパーマリンク">¶</a></h3>
|
183
183
|
<p>v1の値がv2の値に対して後方一致することを表します。</p>
|
184
184
|
</div>
|
185
185
|
</div>
|
186
186
|
</div>
|
187
187
|
<div class="section" id="id5">
|
188
|
-
<h1>13.3.
|
188
|
+
<h1>13.3.5. クエリの実例<a class="headerlink" href="#id5" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
189
189
|
<p>grn_exprを使って様々な検索クエリを表現することができます。</p>
|
190
190
|
<div class="section" id="id6">
|
191
|
-
<h2>13.3.
|
191
|
+
<h2>13.3.5.1. 検索例1<a class="headerlink" href="#id6" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
192
192
|
<div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
|
193
193
|
grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
|
194
194
|
grn_expr_append_obj(ctx, query, column, GRN_OP_PUSH, 1);
|
@@ -200,7 +200,7 @@ result = grn_table_select(ctx, table, query, NULL, GRN_OP_OR);
|
|
200
200
|
<p>tableのcolumnの値がstringを含むレコードをresultに返します。columnの値が'needle in haystack'であるレコードr1と、columnの値が'haystack'であるレコードr2がtableに登録されていたとき、stringに'needle'を指定したなら、レコードr1のみがヒットします。</p>
|
201
201
|
</div>
|
202
202
|
<div class="section" id="id7">
|
203
|
-
<h2>13.3.
|
203
|
+
<h2>13.3.5.2. 検索例2<a class="headerlink" href="#id7" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
204
204
|
<div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
|
205
205
|
grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
|
206
206
|
grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1);
|
@@ -224,7 +224,7 @@ grn_obj_close(ctx, query);
|
|
224
224
|
<p>tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるスコア値にscore1を積算してresultにセットします。次に、resultにセットされたレコードのうち、column2の値がstringにexactモードでヒットするレコードについては、得られたスコア値にscore2を積算したものを、元のスコア値に加えます。</p>
|
225
225
|
</div>
|
226
226
|
<div class="section" id="id8">
|
227
|
-
<h2>13.3.
|
227
|
+
<h2>13.3.5.3. 検索例3<a class="headerlink" href="#id8" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
228
228
|
<div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
|
229
229
|
grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
|
230
230
|
grn_expr_append_obj(ctx, query, column1, GRN_OP_PUSH, 1);
|
@@ -250,7 +250,7 @@ if (grn_table_size(ctx, result) < t1) {
|
|
250
250
|
<p>tableのcolumn1の値がstringにexactモードでヒットするレコードについて得られるスコア値にscore1を積算してresultにセットします。得られた検索結果数がt1よりも小さい場合は、partialモードで再度検索し、ヒットしたレコードについて得られるスコア値にscore2を積算してresultに追加します。</p>
|
251
251
|
</div>
|
252
252
|
<div class="section" id="id9">
|
253
|
-
<h2>13.3.
|
253
|
+
<h2>13.3.5.4. 検索例4<a class="headerlink" href="#id9" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
254
254
|
<div class="highlight-none"><div class="highlight"><pre>GRN_EXPR_CREATE_FOR_QUERY(ctx, table, query, var);
|
255
255
|
grn_expr_append_obj(ctx, query, contain, GRN_OP_PUSH, 1);
|
256
256
|
grn_expr_append_const(ctx, query, string, GRN_OP_PUSH, 1);
|
@@ -272,46 +272,46 @@ columnの値が'needle'であるレコードr1と、columnの値が'haystack'で
|
|
272
272
|
<div class="sphinxsidebarwrapper">
|
273
273
|
<h3><a href="../../index.html">目次</a></h3>
|
274
274
|
<ul>
|
275
|
-
<li><a class="reference internal" href="#">13.3.
|
276
|
-
<li><a class="reference internal" href="#id2">13.3.
|
277
|
-
<li><a class="reference internal" href="#db-api">13.3.
|
278
|
-
<li><a class="reference internal" href="#grn-expr">13.3.
|
279
|
-
<li><a class="reference internal" href="#groonga">13.3.
|
275
|
+
<li><a class="reference internal" href="#">13.3.4. クエリの実現</a><ul>
|
276
|
+
<li><a class="reference internal" href="#id2">13.3.4.1. クエリ実行のためのインタフェース</a><ul>
|
277
|
+
<li><a class="reference internal" href="#db-api">13.3.4.1.1. DB_API</a></li>
|
278
|
+
<li><a class="reference internal" href="#grn-expr">13.3.4.1.2. grn_expr</a></li>
|
279
|
+
<li><a class="reference internal" href="#groonga">13.3.4.1.3. Groonga実行ファイル</a></li>
|
280
280
|
</ul>
|
281
281
|
</li>
|
282
|
-
<li><a class="reference internal" href="#id3">13.3.
|
283
|
-
<li><a class="reference internal" href="#grn-table-select">13.3.
|
284
|
-
<li><a class="reference internal" href="#id4">13.3.
|
285
|
-
<li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.3.
|
286
|
-
<li><a class="reference internal" href="#not-equal-v1-v2-arg-callback">13.3.
|
287
|
-
<li><a class="reference internal" href="#less-v1-v2-arg-callback">13.3.
|
288
|
-
<li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.3.
|
289
|
-
<li><a class="reference internal" href="#less-equal-v1-v2-arg-callback">13.3.
|
290
|
-
<li><a class="reference internal" href="#greater-equal-v1-v2-arg-callback">13.3.
|
291
|
-
<li><a class="reference internal" href="#contain-v1-v2-mode-arg-callback">13.3.
|
292
|
-
<li><a class="reference internal" href="#near-v1-v2-arg-callback">13.3.
|
293
|
-
<li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.3.
|
294
|
-
<li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.3.
|
295
|
-
<li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.3.
|
282
|
+
<li><a class="reference internal" href="#id3">13.3.4.2. grn_exprで表現できるクエリ</a></li>
|
283
|
+
<li><a class="reference internal" href="#grn-table-select">13.3.4.3. grn_table_select()</a></li>
|
284
|
+
<li><a class="reference internal" href="#id4">13.3.4.4. 関係式</a><ul>
|
285
|
+
<li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.3.4.4.1. equal(v1, v2, arg, callback)</a></li>
|
286
|
+
<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>
|
287
|
+
<li><a class="reference internal" href="#less-v1-v2-arg-callback">13.3.4.4.3. less(v1, v2, arg, callback)</a></li>
|
288
|
+
<li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.3.4.4.4. greater(v1, v2, arg, callback)</a></li>
|
289
|
+
<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>
|
290
|
+
<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>
|
291
|
+
<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>
|
292
|
+
<li><a class="reference internal" href="#near-v1-v2-arg-callback">13.3.4.4.8. near(v1, v2, arg, callback)</a></li>
|
293
|
+
<li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.3.4.4.9. similar(v1, v2, arg, callback)</a></li>
|
294
|
+
<li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.3.4.4.10. prefix(v1, v2, arg, callback)</a></li>
|
295
|
+
<li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.3.4.4.11. suffix(v1, v2, arg, callback)</a></li>
|
296
296
|
</ul>
|
297
297
|
</li>
|
298
298
|
</ul>
|
299
299
|
</li>
|
300
|
-
<li><a class="reference internal" href="#id5">13.3.
|
301
|
-
<li><a class="reference internal" href="#id6">13.3.
|
302
|
-
<li><a class="reference internal" href="#id7">13.3.
|
303
|
-
<li><a class="reference internal" href="#id8">13.3.
|
304
|
-
<li><a class="reference internal" href="#id9">13.3.
|
300
|
+
<li><a class="reference internal" href="#id5">13.3.5. クエリの実例</a><ul>
|
301
|
+
<li><a class="reference internal" href="#id6">13.3.5.1. 検索例1</a></li>
|
302
|
+
<li><a class="reference internal" href="#id7">13.3.5.2. 検索例2</a></li>
|
303
|
+
<li><a class="reference internal" href="#id8">13.3.5.3. 検索例3</a></li>
|
304
|
+
<li><a class="reference internal" href="#id9">13.3.5.4. 検索例4</a></li>
|
305
305
|
</ul>
|
306
306
|
</li>
|
307
307
|
</ul>
|
308
308
|
|
309
309
|
<h4>前のトピックへ</h4>
|
310
|
-
<p class="topless"><a href="
|
311
|
-
title="前の章へ">13.3.
|
310
|
+
<p class="topless"><a href="cooperation.html"
|
311
|
+
title="前の章へ">13.3.3. ユーザーと協力して開発をうまく進めていくための指針</a></p>
|
312
312
|
<h4>次のトピックへ</h4>
|
313
313
|
<p class="topless"><a href="release.html"
|
314
|
-
title="次の章へ">13.3.
|
314
|
+
title="次の章へ">13.3.6. リリース手順</a></p>
|
315
315
|
<div role="note" aria-label="source link">
|
316
316
|
<h3>このページ</h3>
|
317
317
|
<ul class="this-page-menu">
|
@@ -343,14 +343,14 @@ columnの値が'needle'であるレコードr1と、columnの値が'haystack'で
|
|
343
343
|
<a href="../../genindex.html" title="総合索引"
|
344
344
|
>索引</a></li>
|
345
345
|
<li class="right" >
|
346
|
-
<a href="release.html" title="13.3.
|
346
|
+
<a href="release.html" title="13.3.6. リリース手順"
|
347
347
|
>次へ</a> |</li>
|
348
348
|
<li class="right" >
|
349
|
-
<a href="
|
349
|
+
<a href="cooperation.html" title="13.3.3. ユーザーと協力して開発をうまく進めていくための指針"
|
350
350
|
>前へ</a> |</li>
|
351
|
-
<li><a href="../../index.html">Groonga v4.0.1ドキュメント</a> »</li>
|
351
|
+
<li><a href="../../index.html">Groonga v4.0.1-127-g9422d50ドキュメント</a> »</li>
|
352
352
|
<li><a href="../../contribution.html" >13. Groongaへのコントリビュート方法</a> »</li>
|
353
|
-
<li><a href="../development.html" >13.3.
|
353
|
+
<li><a href="../development.html" >13.3. Groonga開発者向け情報</a> »</li>
|
354
354
|
</ul>
|
355
355
|
</div>
|
356
356
|
<div class="footer" role="contentinfo">
|