rroonga 2.1.3-x86-mingw32 → 3.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/grndump +1 -1
- data/doc/text/news.textile +22 -4
- data/ext/groonga/rb-grn-accessor.c +1 -1
- data/ext/groonga/rb-grn-array-cursor.c +1 -1
- data/ext/groonga/rb-grn-array.c +218 -2
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-context.c +1 -1
- data/ext/groonga/rb-grn-database.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-encoding-support.c +1 -1
- data/ext/groonga/rb-grn-encoding.c +1 -1
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression-builder.c +1 -1
- data/ext/groonga/rb-grn-expression.c +1 -1
- data/ext/groonga/rb-grn-fix-size-column.c +1 -1
- data/ext/groonga/rb-grn-geo-point.c +1 -1
- data/ext/groonga/rb-grn-hash-cursor.c +1 -1
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-index-cursor.c +1 -1
- data/ext/groonga/rb-grn-logger.c +1 -1
- data/ext/groonga/rb-grn-normalizer.c +1 -1
- data/ext/groonga/rb-grn-object.c +7 -7
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-posting.c +1 -1
- data/ext/groonga/rb-grn-procedure.c +1 -1
- data/ext/groonga/rb-grn-record.c +1 -1
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +1 -1
- data/ext/groonga/rb-grn-table.c +1 -1
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +1 -1
- data/ext/groonga/rb-grn-variable-size-column.c +1 -1
- data/ext/groonga/rb-grn-variable.c +1 -1
- data/ext/groonga/rb-grn.h +4 -4
- data/ext/groonga/rb-groonga.c +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/groonga/context.rb +93 -13
- data/rroonga-build.rb +2 -2
- data/test/groonga-test-utils.rb +2 -1
- data/test/test-array.rb +86 -2
- data/test/test-context.rb +22 -2
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +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/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +1 -1
- data/vendor/local/include/groonga/groonga.h +16 -8
- data/vendor/local/include/groonga/groonga/nfkc.h +32 -0
- data/vendor/local/include/groonga/groonga/plugin.h +39 -21
- data/vendor/local/include/groonga/groonga/tokenizer.h +4 -0
- 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/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/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/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/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- 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/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +9 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/repository.txt +12 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +20 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +28 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +12 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +8 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +36 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +11 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +112 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_rename.txt +79 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/delete.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +51 -51
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +85 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +98 -89
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +73 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +124 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +24 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +58 -57
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +18 -18
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +61 -61
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +104 -95
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +138 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +37 -37
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +36 -30
- data/vendor/local/share/doc/groonga/en/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +23 -9
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +30 -9
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +16 -9
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +37 -9
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +251 -120
- 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/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +28 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +25 -22
- 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/commands/cache_limit.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +71 -87
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +8 -9
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +13 -14
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +321 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +35 -36
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +32 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -33
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +70 -69
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +34 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +34 -35
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +37 -38
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +218 -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/select.html +294 -288
- 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 +38 -41
- 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 +33 -34
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +268 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.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/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.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.html +11 -9
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +292 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +32 -7
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.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/types.html +10 -10
- 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.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.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/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/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.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/suggest.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -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/tutorial.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 +5 -5
- 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 +9 -9
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +9 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/repository.txt +12 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +20 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +28 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +12 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +8 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +36 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +11 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +112 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_rename.txt +79 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/delete.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +51 -51
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +85 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +98 -89
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +73 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +124 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +24 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +58 -57
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +18 -18
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +61 -61
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +104 -95
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +139 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +37 -37
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +36 -30
- data/vendor/local/share/doc/groonga/ja/html/install.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +19 -9
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +24 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -9
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +13 -13
- 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 +29 -9
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +225 -124
- 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 +7 -7
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +28 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +25 -22
- 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/commands/cache_limit.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +71 -87
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +8 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +13 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +321 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +35 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +32 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +56 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +34 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +34 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +37 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +213 -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/select.html +235 -229
- 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 +38 -41
- 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 +33 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +268 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.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/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +5 -5
- 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.html +11 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +291 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +30 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.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/types.html +10 -10
- 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.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +9 -9
- 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/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.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/suggest.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -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/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +9 -9
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +1231 -420
- data/vendor/local/share/man/man1/groonga.1 +1370 -521
- metadata +1025 -998
- data/lib/1.8/groonga.so +0 -0
@@ -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.2. groonga開発者向け情報 — groonga
|
10
|
+
<title>13.2. groonga開発者向け情報 — groonga v3.0.2 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: '
|
18
|
+
VERSION: '3.0.2',
|
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
|
28
|
+
<link rel="top" title="groonga v3.0.2 documentation" href="../index.html" />
|
29
29
|
<link rel="up" title="13. How to contribute to groonga" href="../contribution.html" />
|
30
|
-
<link rel="next" title="13.2.1.
|
30
|
+
<link rel="next" title="13.2.1. Repository" href="development/repository.html" />
|
31
31
|
<link rel="prev" title="13.1. How to report a bug" href="report.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
@@ -55,12 +55,12 @@
|
|
55
55
|
<a href="../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="development/
|
58
|
+
<a href="development/repository.html" title="13.2.1. Repository"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
61
|
<a href="report.html" title="13.1. How to report a bug"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../index.html">groonga
|
63
|
+
<li><a href="../index.html">groonga v3.0.2 documentation</a> »</li>
|
64
64
|
<li><a href="../contribution.html" accesskey="U">13. How to contribute to groonga</a> »</li>
|
65
65
|
</ul>
|
66
66
|
</div>
|
@@ -74,12 +74,13 @@
|
|
74
74
|
<h1>13.2. groonga開発者向け情報<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h1>
|
75
75
|
<div class="toctree-wrapper compound">
|
76
76
|
<ul>
|
77
|
-
<li class="toctree-l1"><a class="reference internal" href="development/
|
78
|
-
<li class="toctree-l1"><a class="reference internal" href="development/
|
79
|
-
<li class="toctree-l1"><a class="reference internal" href="development/
|
80
|
-
<li class="toctree-l1"><a class="reference internal" href="development/query.html
|
81
|
-
<li class="toctree-l1"><a class="reference internal" href="development/
|
82
|
-
<li class="toctree-l1"><a class="reference internal" href="development/
|
77
|
+
<li class="toctree-l1"><a class="reference internal" href="development/repository.html">13.2.1. Repository</a></li>
|
78
|
+
<li class="toctree-l1"><a class="reference internal" href="development/com.html">13.2.2. groonga 通信アーキテクチャ</a></li>
|
79
|
+
<li class="toctree-l1"><a class="reference internal" href="development/document.html">13.2.3. ドキュメント作成</a></li>
|
80
|
+
<li class="toctree-l1"><a class="reference internal" href="development/query.html">13.2.4. クエリの実現</a></li>
|
81
|
+
<li class="toctree-l1"><a class="reference internal" href="development/query.html#id5">13.2.5. クエリの実例</a></li>
|
82
|
+
<li class="toctree-l1"><a class="reference internal" href="development/release.html">13.2.6. リリース手順</a></li>
|
83
|
+
<li class="toctree-l1"><a class="reference internal" href="development/test.html">13.2.7. テスト方法</a></li>
|
83
84
|
</ul>
|
84
85
|
</div>
|
85
86
|
</div>
|
@@ -94,8 +95,8 @@
|
|
94
95
|
<p class="topless"><a href="report.html"
|
95
96
|
title="previous chapter">13.1. How to report a bug</a></p>
|
96
97
|
<h4>Next topic</h4>
|
97
|
-
<p class="topless"><a href="development/
|
98
|
-
title="next chapter">13.2.1.
|
98
|
+
<p class="topless"><a href="development/repository.html"
|
99
|
+
title="next chapter">13.2.1. Repository</a></p>
|
99
100
|
<h3>This Page</h3>
|
100
101
|
<ul class="this-page-menu">
|
101
102
|
<li><a href="../_sources/contribution/development.txt"
|
@@ -125,12 +126,12 @@
|
|
125
126
|
<a href="../genindex.html" title="General Index"
|
126
127
|
>index</a></li>
|
127
128
|
<li class="right" >
|
128
|
-
<a href="development/
|
129
|
+
<a href="development/repository.html" title="13.2.1. Repository"
|
129
130
|
>next</a> |</li>
|
130
131
|
<li class="right" >
|
131
132
|
<a href="report.html" title="13.1. How to report a bug"
|
132
133
|
>previous</a> |</li>
|
133
|
-
<li><a href="../index.html">groonga
|
134
|
+
<li><a href="../index.html">groonga v3.0.2 documentation</a> »</li>
|
134
135
|
<li><a href="../contribution.html" >13. How to contribute to groonga</a> »</li>
|
135
136
|
</ul>
|
136
137
|
</div>
|
@@ -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.2.
|
10
|
+
<title>13.2.2. groonga 通信アーキテクチャ — groonga v3.0.2 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: '
|
18
|
+
VERSION: '3.0.2',
|
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
|
28
|
+
<link rel="top" title="groonga v3.0.2 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="13.2. groonga開発者向け情報" href="../development.html" />
|
30
|
-
<link rel="next" title="13.2.
|
31
|
-
<link rel="prev" title="13.2.
|
30
|
+
<link rel="next" title="13.2.3. ドキュメント作成" href="document.html" />
|
31
|
+
<link rel="prev" title="13.2.1. Repository" href="repository.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,12 +55,12 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="document.html" title="13.2.
|
58
|
+
<a href="document.html" title="13.2.3. ドキュメント作成"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="
|
61
|
+
<a href="repository.html" title="13.2.1. Repository"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga
|
63
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
64
64
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
65
65
|
<li><a href="../development.html" accesskey="U">13.2. groonga開発者向け情報</a> »</li>
|
66
66
|
</ul>
|
@@ -72,9 +72,9 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="groonga">
|
75
|
-
<h1>13.2.
|
75
|
+
<h1>13.2.2. groonga 通信アーキテクチャ<a class="headerlink" href="#groonga" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="gqtp">
|
77
|
-
<h2>13.2.
|
77
|
+
<h2>13.2.2.1. gqtpでのアーキテクチャ<a class="headerlink" href="#gqtp" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<ul class="simple">
|
79
79
|
<li>comが外部からの接続を受け付ける。</li>
|
80
80
|
<li>comは1スレッド。</li>
|
@@ -99,18 +99,18 @@ edgeがworkerに結びついていないときは、同時に、ctx_newという
|
|
99
99
|
<div class="sphinxsidebarwrapper">
|
100
100
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
101
101
|
<ul>
|
102
|
-
<li><a class="reference internal" href="#">13.2.
|
103
|
-
<li><a class="reference internal" href="#gqtp">13.2.
|
102
|
+
<li><a class="reference internal" href="#">13.2.2. groonga 通信アーキテクチャ</a><ul>
|
103
|
+
<li><a class="reference internal" href="#gqtp">13.2.2.1. gqtpでのアーキテクチャ</a></li>
|
104
104
|
</ul>
|
105
105
|
</li>
|
106
106
|
</ul>
|
107
107
|
|
108
108
|
<h4>Previous topic</h4>
|
109
|
-
<p class="topless"><a href="
|
110
|
-
title="previous chapter">13.2.
|
109
|
+
<p class="topless"><a href="repository.html"
|
110
|
+
title="previous chapter">13.2.1. Repository</a></p>
|
111
111
|
<h4>Next topic</h4>
|
112
112
|
<p class="topless"><a href="document.html"
|
113
|
-
title="next chapter">13.2.
|
113
|
+
title="next chapter">13.2.3. ドキュメント作成</a></p>
|
114
114
|
<h3>This Page</h3>
|
115
115
|
<ul class="this-page-menu">
|
116
116
|
<li><a href="../../_sources/contribution/development/com.txt"
|
@@ -140,12 +140,12 @@ edgeがworkerに結びついていないときは、同時に、ctx_newという
|
|
140
140
|
<a href="../../genindex.html" title="General Index"
|
141
141
|
>index</a></li>
|
142
142
|
<li class="right" >
|
143
|
-
<a href="document.html" title="13.2.
|
143
|
+
<a href="document.html" title="13.2.3. ドキュメント作成"
|
144
144
|
>next</a> |</li>
|
145
145
|
<li class="right" >
|
146
|
-
<a href="
|
146
|
+
<a href="repository.html" title="13.2.1. Repository"
|
147
147
|
>previous</a> |</li>
|
148
|
-
<li><a href="../../index.html">groonga
|
148
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
149
149
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
150
150
|
<li><a href="../development.html" >13.2. groonga開発者向け情報</a> »</li>
|
151
151
|
</ul>
|
@@ -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.2.
|
10
|
+
<title>13.2.3. ドキュメント作成 — groonga v3.0.2 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: '
|
18
|
+
VERSION: '3.0.2',
|
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
|
28
|
+
<link rel="top" title="groonga v3.0.2 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="13.2. groonga開発者向け情報" href="../development.html" />
|
30
|
-
<link rel="next" title="13.2.
|
31
|
-
<link rel="prev" title="13.2.
|
30
|
+
<link rel="next" title="13.2.4. クエリの実現" href="query.html" />
|
31
|
+
<link rel="prev" title="13.2.2. groonga 通信アーキテクチャ" href="com.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,12 +55,12 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="query.html" title="13.2.
|
58
|
+
<a href="query.html" title="13.2.4. クエリの実現"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="com.html" title="13.2.
|
61
|
+
<a href="com.html" title="13.2.2. groonga 通信アーキテクチャ"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga
|
63
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
64
64
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
65
65
|
<li><a href="../development.html" accesskey="U">13.2. groonga開発者向け情報</a> »</li>
|
66
66
|
</ul>
|
@@ -72,9 +72,9 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="id1">
|
75
|
-
<h1>13.2.
|
75
|
+
<h1>13.2.3. ドキュメント作成<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="sphinx">
|
77
|
-
<h2>13.2.
|
77
|
+
<h2>13.2.3.1. Sphinxのインストール<a class="headerlink" href="#sphinx" title="Permalink to this headline">¶</a></h2>
|
78
78
|
<p>groongaのドキュメントは、Sphinxというツールを用いて作成されています。Sphinxは以下のように導入します。:</p>
|
79
79
|
<div class="highlight-none"><div class="highlight"><pre># aptitude install python-setuptools
|
80
80
|
# easy_install -U sphinx
|
@@ -82,24 +82,24 @@
|
|
82
82
|
</div>
|
83
83
|
</div>
|
84
84
|
<div class="section" id="html">
|
85
|
-
<h2>13.2.
|
85
|
+
<h2>13.2.3.2. htmlの作成<a class="headerlink" href="#html" title="Permalink to this headline">¶</a></h2>
|
86
86
|
<p>以下のコマンドでhtmlが作成されます。:</p>
|
87
87
|
<div class="highlight-none"><div class="highlight"><pre>% make html
|
88
88
|
</pre></div>
|
89
89
|
</div>
|
90
90
|
</div>
|
91
91
|
<div class="section" id="pdf">
|
92
|
-
<h2>13.2.
|
92
|
+
<h2>13.2.3.3. pdfの作成<a class="headerlink" href="#pdf" title="Permalink to this headline">¶</a></h2>
|
93
93
|
<p>groongaのドキュメントは、pdf出力することもできます。rst2pdfと、IPAフォント(IPA Gothic/IPAexGothic)が必要となります。</p>
|
94
94
|
<div class="section" id="rst2pdf">
|
95
|
-
<h3>13.2.
|
95
|
+
<h3>13.2.3.3.1. rst2pdfのインストール<a class="headerlink" href="#rst2pdf" title="Permalink to this headline">¶</a></h3>
|
96
96
|
<p>以下のようにしてインストールできます。:</p>
|
97
97
|
<div class="highlight-none"><div class="highlight"><pre># easy_install rst2pdf
|
98
98
|
</pre></div>
|
99
99
|
</div>
|
100
100
|
</div>
|
101
101
|
<div class="section" id="id2">
|
102
|
-
<h3>13.2.
|
102
|
+
<h3>13.2.3.3.2. pdfの作成<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
|
103
103
|
<p>以下のコマンドでpdfが作成されます。:</p>
|
104
104
|
<div class="highlight-none"><div class="highlight"><pre>% make pdf
|
105
105
|
</pre></div>
|
@@ -116,12 +116,12 @@
|
|
116
116
|
<div class="sphinxsidebarwrapper">
|
117
117
|
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
118
118
|
<ul>
|
119
|
-
<li><a class="reference internal" href="#">13.2.
|
120
|
-
<li><a class="reference internal" href="#sphinx">13.2.
|
121
|
-
<li><a class="reference internal" href="#html">13.2.
|
122
|
-
<li><a class="reference internal" href="#pdf">13.2.
|
123
|
-
<li><a class="reference internal" href="#rst2pdf">13.2.
|
124
|
-
<li><a class="reference internal" href="#id2">13.2.
|
119
|
+
<li><a class="reference internal" href="#">13.2.3. ドキュメント作成</a><ul>
|
120
|
+
<li><a class="reference internal" href="#sphinx">13.2.3.1. Sphinxのインストール</a></li>
|
121
|
+
<li><a class="reference internal" href="#html">13.2.3.2. htmlの作成</a></li>
|
122
|
+
<li><a class="reference internal" href="#pdf">13.2.3.3. pdfの作成</a><ul>
|
123
|
+
<li><a class="reference internal" href="#rst2pdf">13.2.3.3.1. rst2pdfのインストール</a></li>
|
124
|
+
<li><a class="reference internal" href="#id2">13.2.3.3.2. pdfの作成</a></li>
|
125
125
|
</ul>
|
126
126
|
</li>
|
127
127
|
</ul>
|
@@ -130,10 +130,10 @@
|
|
130
130
|
|
131
131
|
<h4>Previous topic</h4>
|
132
132
|
<p class="topless"><a href="com.html"
|
133
|
-
title="previous chapter">13.2.
|
133
|
+
title="previous chapter">13.2.2. groonga 通信アーキテクチャ</a></p>
|
134
134
|
<h4>Next topic</h4>
|
135
135
|
<p class="topless"><a href="query.html"
|
136
|
-
title="next chapter">13.2.
|
136
|
+
title="next chapter">13.2.4. クエリの実現</a></p>
|
137
137
|
<h3>This Page</h3>
|
138
138
|
<ul class="this-page-menu">
|
139
139
|
<li><a href="../../_sources/contribution/development/document.txt"
|
@@ -163,12 +163,12 @@
|
|
163
163
|
<a href="../../genindex.html" title="General Index"
|
164
164
|
>index</a></li>
|
165
165
|
<li class="right" >
|
166
|
-
<a href="query.html" title="13.2.
|
166
|
+
<a href="query.html" title="13.2.4. クエリの実現"
|
167
167
|
>next</a> |</li>
|
168
168
|
<li class="right" >
|
169
|
-
<a href="com.html" title="13.2.
|
169
|
+
<a href="com.html" title="13.2.2. groonga 通信アーキテクチャ"
|
170
170
|
>previous</a> |</li>
|
171
|
-
<li><a href="../../index.html">groonga
|
171
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
172
172
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
173
173
|
<li><a href="../development.html" >13.2. groonga開発者向け情報</a> »</li>
|
174
174
|
</ul>
|
@@ -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.2.
|
10
|
+
<title>13.2.4. クエリの実現 — groonga v3.0.2 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: '
|
18
|
+
VERSION: '3.0.2',
|
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
|
28
|
+
<link rel="top" title="groonga v3.0.2 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="13.2. groonga開発者向け情報" href="../development.html" />
|
30
|
-
<link rel="next" title="13.2.
|
31
|
-
<link rel="prev" title="13.2.
|
30
|
+
<link rel="next" title="13.2.6. リリース手順" href="release.html" />
|
31
|
+
<link rel="prev" title="13.2.3. ドキュメント作成" href="document.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
34
34
|
<div class="header">
|
@@ -55,12 +55,12 @@
|
|
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.2.
|
58
|
+
<a href="release.html" title="13.2.6. リリース手順"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
|
-
<a href="document.html" title="13.2.
|
61
|
+
<a href="document.html" title="13.2.3. ドキュメント作成"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">groonga
|
63
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
64
64
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
65
65
|
<li><a href="../development.html" accesskey="U">13.2. groonga開発者向け情報</a> »</li>
|
66
66
|
</ul>
|
@@ -72,27 +72,27 @@
|
|
72
72
|
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="id1">
|
75
|
-
<h1>13.2.
|
75
|
+
<h1>13.2.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.2.
|
78
|
+
<h2>13.2.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.2.
|
82
|
+
<h3>13.2.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.2.
|
86
|
+
<h3>13.2.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.2.
|
90
|
+
<h3>13.2.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.2.
|
95
|
+
<h2>13.2.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.2.
|
119
|
+
<h2>13.2.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.2.
|
131
|
+
<h2>13.2.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.2.
|
134
|
+
<h3>13.2.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.2.
|
138
|
+
<h3>13.2.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.2.
|
142
|
+
<h3>13.2.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.2.
|
146
|
+
<h3>13.2.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.2.
|
150
|
+
<h3>13.2.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.2.
|
154
|
+
<h3>13.2.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.2.
|
158
|
+
<h3>13.2.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.2.
|
169
|
+
<h3>13.2.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.2.
|
173
|
+
<h3>13.2.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.2.
|
177
|
+
<h3>13.2.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.2.
|
181
|
+
<h3>13.2.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.2.
|
187
|
+
<h1>13.2.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.2.
|
190
|
+
<h2>13.2.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.2.
|
202
|
+
<h2>13.2.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.2.
|
226
|
+
<h2>13.2.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.2.
|
252
|
+
<h2>13.2.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.2.
|
275
|
-
<li><a class="reference internal" href="#id2">13.2.
|
276
|
-
<li><a class="reference internal" href="#db-api">13.2.
|
277
|
-
<li><a class="reference internal" href="#grn-expr">13.2.
|
278
|
-
<li><a class="reference internal" href="#groonga">13.2.
|
274
|
+
<li><a class="reference internal" href="#">13.2.4. クエリの実現</a><ul>
|
275
|
+
<li><a class="reference internal" href="#id2">13.2.4.1. クエリ実行のためのインタフェース</a><ul>
|
276
|
+
<li><a class="reference internal" href="#db-api">13.2.4.1.1. DB_API</a></li>
|
277
|
+
<li><a class="reference internal" href="#grn-expr">13.2.4.1.2. grn_expr</a></li>
|
278
|
+
<li><a class="reference internal" href="#groonga">13.2.4.1.3. groonga実行ファイル</a></li>
|
279
279
|
</ul>
|
280
280
|
</li>
|
281
|
-
<li><a class="reference internal" href="#id3">13.2.
|
282
|
-
<li><a class="reference internal" href="#grn-table-select">13.2.
|
283
|
-
<li><a class="reference internal" href="#id4">13.2.
|
284
|
-
<li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.2.
|
285
|
-
<li><a class="reference internal" href="#not-equal-v1-v2-arg-callback">13.2.
|
286
|
-
<li><a class="reference internal" href="#less-v1-v2-arg-callback">13.2.
|
287
|
-
<li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.2.
|
288
|
-
<li><a class="reference internal" href="#less-equal-v1-v2-arg-callback">13.2.
|
289
|
-
<li><a class="reference internal" href="#greater-equal-v1-v2-arg-callback">13.2.
|
290
|
-
<li><a class="reference internal" href="#contain-v1-v2-mode-arg-callback">13.2.
|
291
|
-
<li><a class="reference internal" href="#near-v1-v2-arg-callback">13.2.
|
292
|
-
<li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.2.
|
293
|
-
<li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.2.
|
294
|
-
<li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.2.
|
281
|
+
<li><a class="reference internal" href="#id3">13.2.4.2. grn_exprで表現できるクエリ</a></li>
|
282
|
+
<li><a class="reference internal" href="#grn-table-select">13.2.4.3. grn_table_select()</a></li>
|
283
|
+
<li><a class="reference internal" href="#id4">13.2.4.4. 関係式</a><ul>
|
284
|
+
<li><a class="reference internal" href="#equal-v1-v2-arg-callback">13.2.4.4.1. equal(v1, v2, arg, callback)</a></li>
|
285
|
+
<li><a class="reference internal" href="#not-equal-v1-v2-arg-callback">13.2.4.4.2. not_equal(v1, v2, arg, callback)</a></li>
|
286
|
+
<li><a class="reference internal" href="#less-v1-v2-arg-callback">13.2.4.4.3. less(v1, v2, arg, callback)</a></li>
|
287
|
+
<li><a class="reference internal" href="#greater-v1-v2-arg-callback">13.2.4.4.4. greater(v1, v2, arg, callback)</a></li>
|
288
|
+
<li><a class="reference internal" href="#less-equal-v1-v2-arg-callback">13.2.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.2.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.2.4.4.7. contain(v1, v2, mode, arg, callback)</a></li>
|
291
|
+
<li><a class="reference internal" href="#near-v1-v2-arg-callback">13.2.4.4.8. near(v1, v2, arg, callback)</a></li>
|
292
|
+
<li><a class="reference internal" href="#similar-v1-v2-arg-callback">13.2.4.4.9. similar(v1, v2, arg, callback)</a></li>
|
293
|
+
<li><a class="reference internal" href="#prefix-v1-v2-arg-callback">13.2.4.4.10. prefix(v1, v2, arg, callback)</a></li>
|
294
|
+
<li><a class="reference internal" href="#suffix-v1-v2-arg-callback">13.2.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.2.
|
300
|
-
<li><a class="reference internal" href="#id6">13.2.
|
301
|
-
<li><a class="reference internal" href="#id7">13.2.
|
302
|
-
<li><a class="reference internal" href="#id8">13.2.
|
303
|
-
<li><a class="reference internal" href="#id9">13.2.
|
299
|
+
<li><a class="reference internal" href="#id5">13.2.5. クエリの実例</a><ul>
|
300
|
+
<li><a class="reference internal" href="#id6">13.2.5.1. 検索例1</a></li>
|
301
|
+
<li><a class="reference internal" href="#id7">13.2.5.2. 検索例2</a></li>
|
302
|
+
<li><a class="reference internal" href="#id8">13.2.5.3. 検索例3</a></li>
|
303
|
+
<li><a class="reference internal" href="#id9">13.2.5.4. 検索例4</a></li>
|
304
304
|
</ul>
|
305
305
|
</li>
|
306
306
|
</ul>
|
307
307
|
|
308
308
|
<h4>Previous topic</h4>
|
309
309
|
<p class="topless"><a href="document.html"
|
310
|
-
title="previous chapter">13.2.
|
310
|
+
title="previous chapter">13.2.3. ドキュメント作成</a></p>
|
311
311
|
<h4>Next topic</h4>
|
312
312
|
<p class="topless"><a href="release.html"
|
313
|
-
title="next chapter">13.2.
|
313
|
+
title="next chapter">13.2.6. リリース手順</a></p>
|
314
314
|
<h3>This Page</h3>
|
315
315
|
<ul class="this-page-menu">
|
316
316
|
<li><a href="../../_sources/contribution/development/query.txt"
|
@@ -340,12 +340,12 @@ columnの値が'needle'であるレコードr1と、columnの値が'haystack'で
|
|
340
340
|
<a href="../../genindex.html" title="General Index"
|
341
341
|
>index</a></li>
|
342
342
|
<li class="right" >
|
343
|
-
<a href="release.html" title="13.2.
|
343
|
+
<a href="release.html" title="13.2.6. リリース手順"
|
344
344
|
>next</a> |</li>
|
345
345
|
<li class="right" >
|
346
|
-
<a href="document.html" title="13.2.
|
346
|
+
<a href="document.html" title="13.2.3. ドキュメント作成"
|
347
347
|
>previous</a> |</li>
|
348
|
-
<li><a href="../../index.html">groonga
|
348
|
+
<li><a href="../../index.html">groonga v3.0.2 documentation</a> »</li>
|
349
349
|
<li><a href="../../contribution.html" >13. How to contribute to groonga</a> »</li>
|
350
350
|
<li><a href="../development.html" >13.2. groonga開発者向け情報</a> »</li>
|
351
351
|
</ul>
|