rroonga 2.0.4-x86-mingw32 → 2.0.7-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.
- data/Rakefile +29 -2
- data/bin/grndump +3 -2
- data/ext/groonga/extconf.rb +37 -10
- data/ext/groonga/rb-grn-accessor.c +8 -10
- data/ext/groonga/rb-grn-array-cursor.c +2 -2
- data/ext/groonga/rb-grn-array.c +39 -36
- data/ext/groonga/rb-grn-column.c +185 -200
- data/ext/groonga/rb-grn-context.c +104 -93
- data/ext/groonga/rb-grn-database.c +116 -114
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +3 -3
- data/ext/groonga/rb-grn-double-array-trie.c +159 -168
- data/ext/groonga/rb-grn-encoding-support.c +2 -3
- data/ext/groonga/rb-grn-encoding.c +39 -34
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression.c +141 -159
- data/ext/groonga/rb-grn-fix-size-column.c +12 -13
- data/ext/groonga/rb-grn-geo-point.c +55 -0
- data/ext/groonga/rb-grn-hash-cursor.c +3 -3
- data/ext/groonga/rb-grn-hash.c +73 -86
- data/ext/groonga/rb-grn-index-column.c +80 -90
- data/ext/groonga/rb-grn-index-cursor.c +48 -15
- data/ext/groonga/rb-grn-logger.c +42 -63
- data/ext/groonga/rb-grn-object.c +73 -100
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +2 -2
- data/ext/groonga/rb-grn-patricia-trie.c +200 -260
- data/ext/groonga/rb-grn-plugin.c +17 -24
- data/ext/groonga/rb-grn-posting.c +6 -1
- data/ext/groonga/rb-grn-snippet.c +37 -54
- data/ext/groonga/rb-grn-table-cursor-key-support.c +3 -3
- data/ext/groonga/rb-grn-table-cursor.c +21 -26
- data/ext/groonga/rb-grn-table-key-support.c +53 -63
- data/ext/groonga/rb-grn-table.c +366 -393
- data/ext/groonga/rb-grn-type.c +122 -26
- data/ext/groonga/rb-grn-utils.c +77 -7
- data/ext/groonga/rb-grn-variable-size-column.c +12 -20
- data/ext/groonga/rb-grn-variable.c +6 -7
- data/ext/groonga/rb-grn-view-accessor.c +1 -1
- data/ext/groonga/rb-grn-view-cursor.c +2 -2
- data/ext/groonga/rb-grn-view.c +46 -58
- data/ext/groonga/rb-grn.h +36 -4
- data/ext/groonga/rb-groonga.c +7 -6
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/lib/groonga/command.rb +3 -1
- data/lib/groonga/database.rb +27 -0
- data/lib/groonga/dumper.rb +201 -46
- data/lib/groonga/expression-builder.rb +24 -0
- data/lib/groonga/geo-point.rb +216 -0
- data/lib/groonga/pagination.rb +30 -24
- data/lib/groonga/posting.rb +29 -1
- data/lib/groonga/record.rb +21 -18
- data/lib/groonga/schema.rb +185 -186
- data/lib/groonga.rb +3 -1
- data/rroonga-build.rb +1 -1
- data/rroonga.gemspec +90 -0
- data/test/groonga-test-utils.rb +168 -0
- data/test/run-test.rb +60 -0
- data/test/test-accessor.rb +36 -0
- data/test/test-array.rb +146 -0
- data/test/test-column.rb +350 -0
- data/test/test-command-select.rb +246 -0
- data/test/test-context.rb +130 -0
- data/test/test-database-dumper.rb +299 -0
- data/test/test-database.rb +173 -0
- data/test/test-double-array-trie.rb +189 -0
- data/test/test-encoding.rb +33 -0
- data/test/test-exception.rb +230 -0
- data/test/test-expression-builder.rb +643 -0
- data/test/test-expression.rb +134 -0
- data/test/test-fix-size-column.rb +77 -0
- data/test/test-geo-point.rb +190 -0
- data/test/test-gqtp.rb +70 -0
- data/test/test-hash.rb +367 -0
- data/test/test-index-column.rb +180 -0
- data/test/test-index-cursor.rb +149 -0
- data/test/test-logger.rb +37 -0
- data/test/test-pagination.rb +249 -0
- data/test/test-patricia-trie.rb +440 -0
- data/test/test-plugin.rb +35 -0
- data/test/test-procedure.rb +37 -0
- data/test/test-record.rb +577 -0
- data/test/test-remote.rb +63 -0
- data/test/test-schema-create-table.rb +267 -0
- data/test/test-schema-dumper.rb +235 -0
- data/test/test-schema-type.rb +208 -0
- data/test/test-schema-view.rb +90 -0
- data/test/test-schema.rb +886 -0
- data/test/test-snippet.rb +130 -0
- data/test/test-table-dumper.rb +353 -0
- data/test/test-table-offset-and-limit.rb +100 -0
- data/test/test-table-select-mecab.rb +80 -0
- data/test/test-table-select-normalize.rb +57 -0
- data/test/test-table-select-weight.rb +123 -0
- data/test/test-table-select.rb +191 -0
- data/test/test-table-traverse.rb +304 -0
- data/test/test-table.rb +711 -0
- data/test/test-type.rb +136 -0
- data/test/test-variable-size-column.rb +147 -0
- data/test/test-variable.rb +28 -0
- data/test/test-vector-column.rb +76 -0
- data/test/test-version.rb +61 -0
- data/test/test-view.rb +72 -0
- 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 +49 -0
- data/vendor/local/include/groonga/groonga/plugin.h +1 -1
- data/vendor/local/include/groonga/groonga.h +83 -7
- 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 +41 -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/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 +64 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +17 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +638 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/report.txt +21 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +61 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +15 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +131 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +136 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +72 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +53 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +267 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +43 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +196 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +77 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +21 -346
- data/vendor/local/share/doc/groonga/en/html/_sources/news/0.x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.0.x.txt +16 -16
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.2.x.txt +17 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +235 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_expr.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/cast.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/check.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/delete.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/dump.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/quit.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +892 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/status.txt +5 -6
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands/suggest.txt +8 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_list.txt +3 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/table_remove.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{commands.txt → reference/commands.txt} +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/add.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/get.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/commands_not_implemented/set.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +209 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources/executables/groonga-http.txt → en/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
- data/vendor/local/share/doc/groonga/{ja/html/_sources → en/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/executables/groonga.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/{executables.txt → reference/executables.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +284 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/now.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions → reference/functions}/rand.txt +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{functions.txt → reference/functions.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +59 -0
- data/vendor/local/share/doc/groonga/{source → en/html/_sources/reference}/indexing.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/{log.txt → reference/log.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{output.txt → reference/output.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tokenizers.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/{type.txt → reference/type.txt} +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +12 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/server/gqtp.txt +16 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +288 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga-httpd.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/groonga.txt +8 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http.txt +29 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +12 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/correction.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +11 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/introduction.txt +23 -23
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +8 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -154
- data/vendor/local/share/doc/groonga/en/html/_static/underscore.js +29 -21
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +25 -10
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +67 -67
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +742 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +23 -22
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +46 -21
- data/vendor/local/share/doc/groonga/en/html/contribution.html +85 -50
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +191 -0
- data/vendor/local/share/doc/groonga/en/html/{executables.html → development.html} +27 -28
- data/vendor/local/share/doc/groonga/en/html/genindex.html +61 -61
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/index.html +167 -108
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +251 -0
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +260 -0
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +202 -0
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +186 -0
- data/vendor/local/share/doc/groonga/en/html/install/others.html +394 -0
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +171 -0
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +321 -0
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +200 -0
- data/vendor/local/share/doc/groonga/en/html/install.html +91 -349
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +301 -37
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +111 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +111 -0
- data/vendor/local/share/doc/groonga/en/html/{command_version.html → reference/command_version.html} +44 -44
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/cache_limit.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/check.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/clearlock.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_create.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_list.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/column_remove.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/define_selector.html +51 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/defrag.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/delete.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/dump.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/load.html +51 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_level.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_put.html +50 -50
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/log_reopen.html +52 -52
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/quit.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +2340 -0
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/shutdown.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/status.html +67 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/suggest.html +246 -246
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_create.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_list.html +140 -72
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/table_remove.html +51 -51
- data/vendor/local/share/doc/groonga/en/html/{commands → reference/commands}/view_add.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/{commands.html → reference/commands.html} +55 -55
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +201 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +182 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +203 -0
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grnslap.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/grntest.html +62 -62
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +367 -0
- data/vendor/local/share/doc/groonga/en/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +46 -46
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga-suggest-create-dataset.html +53 -53
- data/vendor/local/share/doc/groonga/en/html/{executables → reference/executables}/groonga.html +54 -54
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +144 -0
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/edit_distance.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +551 -0
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_circle.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/geo_in_rectangle.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/now.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/{functions → reference/functions}/rand.html +46 -46
- data/vendor/local/share/doc/groonga/en/html/reference/functions.html +143 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +1365 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +1977 -0
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +192 -0
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +318 -0
- data/vendor/local/share/doc/groonga/en/html/{log.html → reference/log.html} +42 -42
- data/vendor/local/share/doc/groonga/en/html/{output.html → reference/output.html} +39 -39
- data/vendor/local/share/doc/groonga/en/html/{pseudo_column.html → reference/pseudo_column.html} +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +134 -0
- data/vendor/local/share/doc/groonga/en/html/{type.html → reference/type.html} +45 -45
- data/vendor/local/share/doc/groonga/en/html/reference.html +84 -76
- 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 +135 -0
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +452 -0
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +136 -0
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +136 -0
- data/vendor/local/share/doc/groonga/en/html/server/http.html +168 -0
- data/vendor/local/share/doc/groonga/en/html/{functions.html → server.html} +26 -28
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/spec.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +36 -36
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +13 -11
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +39 -39
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +19 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +340 -340
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +452 -36
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +382 -382
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +755 -79
- 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 +311 -311
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +561 -535
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +107 -107
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +145 -143
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +176 -176
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +415 -34
- 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/community.txt +17 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +638 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/report.txt +21 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +61 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +15 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +131 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +136 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +72 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +53 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +267 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +43 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +196 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +77 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +21 -346
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/0.x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.0.x.txt +16 -16
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.2.x.txt +17 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +235 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_expr.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/cast.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{command_version.txt → reference/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/cache_limit.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/check.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/clearlock.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_create.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_list.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/column_remove.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/defrag.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/delete.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/dump.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/load.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_level.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_put.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/log_reopen.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/quit.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +892 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/shutdown.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/status.txt +5 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/suggest.txt +8 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/table_create.txt +0 -0
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_list.txt +3 -26
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/commands/table_remove.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands → reference/commands}/view_add.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{commands.txt → reference/commands.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/add.txt +104 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/get.txt +80 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/set.txt +105 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{executables → reference/executables}/grnslap.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +209 -0
- data/vendor/local/share/doc/groonga/{source/executables/groonga-http.txt → ja/html/_sources/reference/executables/groonga-server-http.txt} +3 -3
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga-suggest-create-dataset.txt +1 -1
- data/vendor/local/share/doc/groonga/{en/html/_sources → ja/html/_sources/reference}/executables/groonga.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/{executables.txt → reference/executables.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/edit_distance.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +284 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_circle.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/now.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions → reference/functions}/rand.txt +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{functions.txt → reference/functions.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +584 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +805 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +59 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{indexing.txt → reference/indexing.txt} +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/{log.txt → reference/log.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{output.txt → reference/output.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tokenizers.txt +8 -0
- data/vendor/local/share/doc/groonga/{source → ja/html/_sources/reference}/type.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +12 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/gqtp.txt +16 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +288 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga-httpd.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/groonga.txt +8 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http.txt +29 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +12 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/correction.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +11 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/introduction.txt +23 -23
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +8 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -154
- data/vendor/local/share/doc/groonga/ja/html/_static/underscore.js +29 -21
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +22 -10
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +67 -67
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +743 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +23 -22
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +41 -17
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +85 -50
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +180 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables.html → development.html} +25 -28
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +61 -61
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/index.html +167 -108
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +236 -0
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +250 -0
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +190 -0
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +182 -0
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +348 -0
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +168 -0
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +309 -0
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +186 -0
- data/vendor/local/share/doc/groonga/ja/html/install.html +83 -340
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -17
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +273 -40
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +112 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +135 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +112 -0
- data/vendor/local/share/doc/groonga/ja/html/{command_version.html → reference/command_version.html} +45 -45
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/cache_limit.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/check.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/clearlock.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_create.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_list.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/column_remove.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/define_selector.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/defrag.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/delete.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/dump.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/load.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_level.html +51 -51
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_put.html +51 -51
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/log_reopen.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/quit.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +2134 -0
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/shutdown.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/status.html +68 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/suggest.html +254 -254
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_create.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_list.html +141 -73
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/table_remove.html +52 -52
- data/vendor/local/share/doc/groonga/ja/html/{commands → reference/commands}/view_add.html +49 -49
- data/vendor/local/share/doc/groonga/ja/html/{commands.html → reference/commands.html} +56 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +202 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +183 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +204 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grnslap.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/grntest.html +63 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +339 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables/groonga-http.html → reference/executables/groonga-server-http.html} +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +187 -0
- data/vendor/local/share/doc/groonga/ja/html/{executables → reference/executables}/groonga.html +55 -55
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +145 -0
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/edit_distance.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +510 -0
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_circle.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/geo_in_rectangle.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/now.html +45 -45
- data/vendor/local/share/doc/groonga/ja/html/{functions → reference/functions}/rand.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/functions.html +144 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +1210 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +1819 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +169 -0
- data/vendor/local/share/doc/groonga/ja/html/{indexing.html → reference/indexing.html} +147 -147
- data/vendor/local/share/doc/groonga/ja/html/{log.html → reference/log.html} +55 -55
- data/vendor/local/share/doc/groonga/ja/html/{output.html → reference/output.html} +40 -40
- data/vendor/local/share/doc/groonga/ja/html/{pseudo_column.html → reference/pseudo_column.html} +39 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +135 -0
- data/vendor/local/share/doc/groonga/ja/html/{type.html → reference/type.html} +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference.html +84 -76
- 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 +136 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +406 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +137 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +137 -0
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +166 -0
- data/vendor/local/share/doc/groonga/ja/html/{functions.html → server.html} +26 -28
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/spec.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +15 -13
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +39 -39
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +19 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +339 -339
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +452 -36
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +382 -382
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +756 -80
- 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 +311 -311
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +561 -535
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +108 -108
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +145 -143
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +176 -176
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +415 -34
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/source/community.txt +17 -0
- data/vendor/local/share/doc/groonga/source/conf.py +3 -16
- data/vendor/local/share/doc/groonga/source/contribution/development/release.txt +638 -0
- data/vendor/local/share/doc/groonga/source/contribution/report.txt +21 -6
- data/vendor/local/share/doc/groonga/source/contribution.txt +0 -1
- data/vendor/local/share/doc/groonga/source/development/travis-ci.txt +61 -0
- data/vendor/local/share/doc/groonga/source/development.txt +15 -0
- data/vendor/local/share/doc/groonga/source/example/completion-1.log +29 -30
- data/vendor/local/share/doc/groonga/source/example/correction-1.log +29 -30
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_equal.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/filter_less_than.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_negative.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/limit_simple.log +32 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_simple.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_some_columns.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_columns_weight.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/match_escalation_threshold.log +74 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/no_limit.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_negative.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/offset_simple.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_asterisk.log +36 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/output_columns_simple.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/paging.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_and.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_equal.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_complex.log +52 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitute.log +131 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_expansion_substitution_table.log +12 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_column.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_leading_not.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log +90 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_none.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_less_than.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/query_or.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_filter.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_query.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/simple_usage.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_descending.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_score_with_query.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/sortby_simple.log +65 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/table_nonexistent.log +18 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/select/usage_setup.log +33 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/status.log +21 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-completion.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-correction.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-completion.log +12 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-correction.log +14 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-learn-suggestion.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-mixed.log +77 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/suggest-suggestion.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/commands/table_list.log +94 -0
- data/vendor/local/share/doc/groonga/source/example/reference/executables/groonga-httpd.log +21 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_ellipsoid.log +16 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_rectangle.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_distance_sphere.log +15 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_ellipsoid.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_rectangle.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_location_sphere.log +26 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_distance.log +13 -0
- data/vendor/local/share/doc/groonga/source/example/reference/functions/geo_distance_setup_location.log +16 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/setup.log +33 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_equal.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_full_text_search_with_explicit_match_column.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_greater_than_or_equal_to.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_grouping.log +92 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than.log +53 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_less_than_or_equal_to.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_and.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_not.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_logical_or.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_not_equal.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_phrase_search_with_explicit_match_column.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_prefix_search.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/query_syntax/simple_suffix_search.log +51 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_addition_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_and_operator.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_not_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_or_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_bitwise_xor_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log +53 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_quotient.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_division_operator_remainder.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_equal_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_function.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_grouping.log +92 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_left_shift_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_and_operator.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_but_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_logical_or_operator.log +47 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_match_operator.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_multiplication_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_near_search_operator.log +52 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_not_equal_operator.log +59 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_prefix_search_operator.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_right_shift_operator.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_signed_right_shift_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_similar_search_operator.log +29 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_subtraction_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_suffix_search_operator.log +51 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_term_extract_operator.log +39 -0
- data/vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_unsigned_right_shift_operator.log +41 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-data.log +9 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-offline-index-construction.log +4 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-online-index-construction.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-schema.log +8 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-offline-index-construction.log +31 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-after-online-index-construction.log +35 -0
- data/vendor/local/share/doc/groonga/source/example/reference/indexing-search-without-index.log +27 -0
- data/vendor/local/share/doc/groonga/source/example/suggestion-1.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-1.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-2.log +44 -45
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-3.log +53 -54
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-4.log +43 -44
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-5.log +43 -44
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-6.log +43 -44
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-7.log +44 -45
- data/vendor/local/share/doc/groonga/source/example/tutorial/data-8.log +52 -53
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-1.log +21 -22
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-2.log +76 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-3.log +83 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-4.log +111 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-5.log +84 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/drilldown-6.log +72 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-1.log +22 -23
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-2.log +103 -104
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-3.log +18 -19
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-4.log +82 -83
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-5.log +76 -77
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-6.log +37 -38
- data/vendor/local/share/doc/groonga/source/example/tutorial/index-7.log +39 -40
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-1.log +0 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-10.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-11.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-12.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-13.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-14.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-15.log +127 -7
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-16.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-17.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-18.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-2.log +19 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-3.log +2 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-4.log +25 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-5.log +31 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-6.log +13 -14
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-7.log +74 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-8.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/introduction-9.log +34 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-1.log +19 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-2.log +135 -136
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-3.log +17 -18
- data/vendor/local/share/doc/groonga/source/example/tutorial/match_columns-4.log +135 -136
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-1.log +57 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-10.log +96 -97
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-2.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-3.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-4.log +87 -88
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-5.log +33 -34
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-6.log +71 -72
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-7.log +52 -53
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-8.log +56 -57
- data/vendor/local/share/doc/groonga/source/example/tutorial/micro_blog-9.log +35 -36
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-1.log +19 -20
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-2.log +0 -1
- data/vendor/local/share/doc/groonga/source/example/tutorial/network-3.log +82 -83
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log +41 -41
- data/vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-2.log +98 -98
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-1.log +24 -25
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-2.log +68 -69
- data/vendor/local/share/doc/groonga/source/example/tutorial/query_expansion-3.log +78 -79
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-1.log +29 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-2.log +82 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-3.log +148 -5
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-4.log +41 -11
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-5.log +39 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-6.log +39 -3
- data/vendor/local/share/doc/groonga/source/example/tutorial/search-7.log +29 -3
- data/vendor/local/share/doc/groonga/source/index.txt +2 -0
- data/vendor/local/share/doc/groonga/source/install/centos.txt +131 -0
- data/vendor/local/share/doc/groonga/source/install/debian.txt +136 -0
- data/vendor/local/share/doc/groonga/source/install/fedora.txt +72 -0
- data/vendor/local/share/doc/groonga/source/install/mac_os_x.txt +53 -0
- data/vendor/local/share/doc/groonga/source/install/others.txt +267 -0
- data/vendor/local/share/doc/groonga/source/install/solaris.txt +43 -0
- data/vendor/local/share/doc/groonga/source/install/ubuntu.txt +196 -0
- data/vendor/local/share/doc/groonga/source/install/windows.txt +77 -0
- data/vendor/local/share/doc/groonga/source/install.txt +21 -346
- data/vendor/local/share/doc/groonga/source/news/0.x.txt +3 -3
- data/vendor/local/share/doc/groonga/source/news/1.0.x.txt +16 -16
- data/vendor/local/share/doc/groonga/source/news/1.1.x.txt +1 -1
- data/vendor/local/share/doc/groonga/source/news/1.2.x.txt +17 -17
- data/vendor/local/share/doc/groonga/source/news.txt +235 -4
- data/vendor/local/share/doc/groonga/source/reference/api/grn_expr.txt +8 -0
- data/vendor/local/share/doc/groonga/source/reference/api.txt +8 -0
- data/vendor/local/share/doc/groonga/source/reference/cast.txt +8 -0
- data/vendor/local/share/doc/groonga/source/{command_version.txt → reference/command_version.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/cache_limit.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/check.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/clearlock.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_create.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_list.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/column_remove.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/define_selector.txt +1 -1
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/defrag.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/delete.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/dump.txt +0 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/load.txt +1 -1
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_level.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_put.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/log_reopen.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/quit.txt +0 -0
- data/vendor/local/share/doc/groonga/source/reference/commands/select.txt +892 -0
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/shutdown.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/status.txt +5 -6
- data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/commands/suggest.txt +8 -8
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/table_create.txt +0 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_list.txt +3 -26
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/commands/table_remove.txt +3 -3
- data/vendor/local/share/doc/groonga/source/{commands → reference/commands}/view_add.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{commands.txt → reference/commands.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/add.txt +104 -0
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/get.txt +80 -0
- data/vendor/local/share/doc/groonga/source/reference/commands_not_implemented/set.txt +105 -0
- data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grnslap.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/grntest.txt +1 -1
- data/vendor/local/share/doc/groonga/source/reference/executables/groonga-httpd.txt +209 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources/executables/groonga-http.txt → source/reference/executables/groonga-server-http.txt} +3 -3
- data/vendor/local/share/doc/groonga/source/{executables → reference/executables}/groonga-suggest-create-dataset.txt +1 -1
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/executables/groonga.txt +4 -4
- data/vendor/local/share/doc/groonga/source/{executables.txt → reference/executables.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/edit_distance.txt +0 -0
- data/vendor/local/share/doc/groonga/source/reference/functions/geo_distance.txt +284 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_circle.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/geo_in_rectangle.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/now.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions → reference/functions}/rand.txt +0 -0
- data/vendor/local/share/doc/groonga/source/{functions.txt → reference/functions.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/query_syntax.txt +584 -0
- data/vendor/local/share/doc/groonga/source/reference/grn_expr/script_syntax.txt +805 -0
- data/vendor/local/share/doc/groonga/source/reference/grn_expr.txt +59 -0
- data/vendor/local/share/doc/groonga/{en/html/_sources → source/reference}/indexing.txt +7 -7
- data/vendor/local/share/doc/groonga/source/{log.txt → reference/log.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{output.txt → reference/output.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/{pseudo_column.txt → reference/pseudo_column.txt} +0 -0
- data/vendor/local/share/doc/groonga/source/reference/tokenizers.txt +8 -0
- data/vendor/local/share/doc/groonga/{ja/html/_sources → source/reference}/type.txt +4 -4
- data/vendor/local/share/doc/groonga/source/reference.txt +12 -9
- data/vendor/local/share/doc/groonga/source/server/gqtp.txt +16 -0
- data/vendor/local/share/doc/groonga/source/server/http/comparison.txt +288 -0
- data/vendor/local/share/doc/groonga/source/server/http/groonga-httpd.txt +8 -0
- data/vendor/local/share/doc/groonga/source/server/http/groonga.txt +8 -0
- data/vendor/local/share/doc/groonga/source/server/http.txt +29 -0
- data/vendor/local/share/doc/groonga/source/server.txt +12 -0
- data/vendor/local/share/doc/groonga/source/spec/search.txt +1 -1
- data/vendor/local/share/doc/groonga/source/spec.txt +2 -2
- data/vendor/local/share/doc/groonga/source/suggest/completion.txt +1 -1
- data/vendor/local/share/doc/groonga/source/suggest/correction.txt +2 -2
- data/vendor/local/share/doc/groonga/source/suggest/introduction.txt +2 -0
- data/vendor/local/share/doc/groonga/source/suggest/suggestion.txt +1 -1
- data/vendor/local/share/doc/groonga/source/troubleshooting/different_results_with_the_same_keyword.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/data.txt +11 -11
- data/vendor/local/share/doc/groonga/source/tutorial/introduction.txt +23 -23
- data/vendor/local/share/doc/groonga/source/tutorial/micro_blog.txt +3 -1
- data/vendor/local/share/doc/groonga/source/tutorial/network.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/patricia_trie.txt +8 -6
- data/vendor/local/share/doc/groonga/source/tutorial/query_expansion.txt +1 -1
- data/vendor/local/share/doc/groonga/source/tutorial/search.txt +3 -3
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +12354 -3896
- data/vendor/local/share/man/man1/groonga.1 +16934 -7750
- 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 +1251 -905
- data/lib/groonga/query-log.rb +0 -348
- data/vendor/local/share/doc/groonga/en/html/_sources/commands/select.txt +0 -504
- data/vendor/local/share/doc/groonga/en/html/_sources/expr.txt +0 -45
- data/vendor/local/share/doc/groonga/en/html/_sources/functions/geo_distance.txt +0 -92
- data/vendor/local/share/doc/groonga/en/html/commands/select.html +0 -891
- data/vendor/local/share/doc/groonga/en/html/expr.html +0 -178
- data/vendor/local/share/doc/groonga/en/html/functions/geo_distance.html +0 -226
- data/vendor/local/share/doc/groonga/en/html/indexing.html +0 -318
- data/vendor/local/share/doc/groonga/ja/html/_sources/commands/select.txt +0 -504
- data/vendor/local/share/doc/groonga/ja/html/_sources/expr.txt +0 -45
- data/vendor/local/share/doc/groonga/ja/html/_sources/functions/geo_distance.txt +0 -92
- data/vendor/local/share/doc/groonga/ja/html/commands/select.html +0 -810
- data/vendor/local/share/doc/groonga/ja/html/executables/groonga-suggest-create-dataset.html +0 -187
- data/vendor/local/share/doc/groonga/ja/html/expr.html +0 -179
- data/vendor/local/share/doc/groonga/ja/html/functions/geo_distance.html +0 -227
- data/vendor/local/share/doc/groonga/source/commands/select.txt +0 -504
- data/vendor/local/share/doc/groonga/source/commands/suggest-completion.log +0 -32
- data/vendor/local/share/doc/groonga/source/commands/suggest-correction.log +0 -32
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-completion.log +0 -13
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-correction.log +0 -15
- data/vendor/local/share/doc/groonga/source/commands/suggest-learn-suggestion.log +0 -9
- data/vendor/local/share/doc/groonga/source/commands/suggest-mixed.log +0 -78
- data/vendor/local/share/doc/groonga/source/commands/suggest-suggestion.log +0 -36
- data/vendor/local/share/doc/groonga/source/expr.txt +0 -45
- data/vendor/local/share/doc/groonga/source/functions/geo_distance.txt +0 -92
@@ -1,891 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
5
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
6
|
-
|
7
|
-
|
8
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
9
|
-
<head>
|
10
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
11
|
-
|
12
|
-
<title>7.3.17. select — groonga v2.0.2 documentation</title>
|
13
|
-
|
14
|
-
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
15
|
-
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
16
|
-
|
17
|
-
<script type="text/javascript">
|
18
|
-
var DOCUMENTATION_OPTIONS = {
|
19
|
-
URL_ROOT: '../',
|
20
|
-
VERSION: '2.0.2',
|
21
|
-
COLLAPSE_INDEX: false,
|
22
|
-
FILE_SUFFIX: '.html',
|
23
|
-
HAS_SOURCE: true
|
24
|
-
};
|
25
|
-
</script>
|
26
|
-
<script type="text/javascript" src="../_static/jquery.js"></script>
|
27
|
-
<script type="text/javascript" src="../_static/underscore.js"></script>
|
28
|
-
<script type="text/javascript" src="../_static/doctools.js"></script>
|
29
|
-
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
30
|
-
<link rel="top" title="groonga v2.0.2 documentation" href="../index.html" />
|
31
|
-
<link rel="up" title="7.3. コマンド" href="../commands.html" />
|
32
|
-
<link rel="next" title="7.3.18. shutdown" href="shutdown.html" />
|
33
|
-
<link rel="prev" title="7.3.16. quit" href="quit.html" />
|
34
|
-
</head>
|
35
|
-
<body>
|
36
|
-
<div class="header">
|
37
|
-
<h1 class="title">
|
38
|
-
<a id="top-link" href="../index.html">
|
39
|
-
<span class="project">groonga</span>
|
40
|
-
<span class="separator">-</span>
|
41
|
-
<span class="description">An open-source fulltext search engine and column store.</span>
|
42
|
-
</a>
|
43
|
-
</h1>
|
44
|
-
|
45
|
-
<div class="other-language-links">
|
46
|
-
<ul>
|
47
|
-
<li><a href="../../../ja/html/commands/select.html"><img src="../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
|
48
|
-
</ul>
|
49
|
-
</div>
|
50
|
-
</div>
|
51
|
-
|
52
|
-
|
53
|
-
<div class="related">
|
54
|
-
<h3>Navigation</h3>
|
55
|
-
<ul>
|
56
|
-
<li class="right" style="margin-right: 10px">
|
57
|
-
<a href="../genindex.html" title="General Index"
|
58
|
-
accesskey="I">index</a></li>
|
59
|
-
<li class="right" >
|
60
|
-
<a href="shutdown.html" title="7.3.18. shutdown"
|
61
|
-
accesskey="N">next</a> |</li>
|
62
|
-
<li class="right" >
|
63
|
-
<a href="quit.html" title="7.3.16. quit"
|
64
|
-
accesskey="P">previous</a> |</li>
|
65
|
-
<li><a href="../index.html">groonga v2.0.2 documentation</a> »</li>
|
66
|
-
<li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
67
|
-
<li><a href="../commands.html" accesskey="U">7.3. コマンド</a> »</li>
|
68
|
-
</ul>
|
69
|
-
</div>
|
70
|
-
|
71
|
-
<div class="document">
|
72
|
-
<div class="documentwrapper">
|
73
|
-
<div class="bodywrapper">
|
74
|
-
<div class="body">
|
75
|
-
|
76
|
-
<div class="section" id="select">
|
77
|
-
<h1>7.3.17. select<a class="headerlink" href="#select" title="Permalink to this headline">¶</a></h1>
|
78
|
-
<div class="section" id="summary">
|
79
|
-
<h2>7.3.17.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
80
|
-
<p><tt class="docutils literal"><span class="pre">select</span></tt> searches records that are matched to specified conditions
|
81
|
-
from a table and then outputs them.</p>
|
82
|
-
<p><tt class="docutils literal"><span class="pre">select</span></tt> is the most important command in groonga. You need to
|
83
|
-
understand <tt class="docutils literal"><span class="pre">select</span></tt> to use the full power of groonga.</p>
|
84
|
-
</div>
|
85
|
-
<div class="section" id="syntax">
|
86
|
-
<h2>7.3.17.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
87
|
-
<p><tt class="docutils literal"><span class="pre">select</span></tt> has many parameters. The required parameter is only
|
88
|
-
<tt class="docutils literal"><span class="pre">table</span></tt> and others are optional:</p>
|
89
|
-
<div class="highlight-none"><div class="highlight"><pre>select table
|
90
|
-
[match_columns=null]
|
91
|
-
[query=null]
|
92
|
-
[filter=null]
|
93
|
-
[scorer=null]
|
94
|
-
[sortby=null]
|
95
|
-
[output_columns="_id, _key, *"]
|
96
|
-
[offset=0]
|
97
|
-
[limit=10]
|
98
|
-
[drilldown=null]
|
99
|
-
[drilldown_sortby=null]
|
100
|
-
[drilldown_output_columns=null]
|
101
|
-
[drilldown_offset=0]
|
102
|
-
[drilldown_limit=10]
|
103
|
-
[cache=yes]
|
104
|
-
[match_escalation_threshold=0]
|
105
|
-
[query_expansion=null]
|
106
|
-
</pre></div>
|
107
|
-
</div>
|
108
|
-
</div>
|
109
|
-
<div class="section" id="usage">
|
110
|
-
<h2>7.3.17.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
111
|
-
<p>Let's learn about <tt class="docutils literal"><span class="pre">select</span></tt> usage with examples. This section shows
|
112
|
-
many popular usages.</p>
|
113
|
-
<p>Here are a schema definition and sample data to show usage.</p>
|
114
|
-
<p>Execution example:</p>
|
115
|
-
<div class="highlight-none"><div class="highlight"><pre>> table_create Entries TABLE_HASH_KEY ShortText
|
116
|
-
[[0,1335594537.43378,0.000381708145141602],true]
|
117
|
-
> column_create Entries content COLUMN_SCALAR Text
|
118
|
-
[[0,1335594537.63582,0.000931501388549805],true]
|
119
|
-
> table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
|
120
|
-
[[0,1335594537.83776,0.000288009643554688],true]
|
121
|
-
> column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
|
122
|
-
[[0,1335594538.03901,0.0059964656829834],true]
|
123
|
-
> column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
|
124
|
-
[[0,1335594538.24584,0.00617790222167969],true]
|
125
|
-
> load --table Entries
|
126
|
-
> [
|
127
|
-
> {"_key": "The first post!", "content": "Welcome! This is my first post!"},
|
128
|
-
> {"_key": "Groonga", "content": "I started to use groonga. It's very fast!"}
|
129
|
-
> {"_key": "Mroonga", "content": "I also started to use mroonga. It's also very fast! Really fast!"}
|
130
|
-
> ]
|
131
|
-
</pre></div>
|
132
|
-
</div>
|
133
|
-
<p>There is a table, <tt class="docutils literal"><span class="pre">Entries</span></tt>, for blog entries. An entry has title
|
134
|
-
and content. Title is key of <tt class="docutils literal"><span class="pre">Entries</span></tt>. Content is value of
|
135
|
-
<tt class="docutils literal"><span class="pre">Entries.content</span></tt> column.</p>
|
136
|
-
<p><tt class="docutils literal"><span class="pre">Entries._key</span></tt> column and <tt class="docutils literal"><span class="pre">Entries.content</span></tt> column are indexed
|
137
|
-
using <tt class="docutils literal"><span class="pre">TokenBigram</span></tt> tokenizer. So both <tt class="docutils literal"><span class="pre">Entries._key</span></tt> and
|
138
|
-
<tt class="docutils literal"><span class="pre">Entries.content</span></tt> are fulltext search ready.</p>
|
139
|
-
<p>OK. The schema and data for examples are ready.</p>
|
140
|
-
<div class="section" id="simple-usage">
|
141
|
-
<h3>7.3.17.3.1. Simple usage<a class="headerlink" href="#simple-usage" title="Permalink to this headline">¶</a></h3>
|
142
|
-
<p>Here is the most simple usage with the above shema and data. It outputs
|
143
|
-
all records in <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
144
|
-
<p>Execution example:</p>
|
145
|
-
<div class="highlight-none"><div class="highlight"><pre>> select Entries
|
146
|
-
[
|
147
|
-
[
|
148
|
-
0,
|
149
|
-
1335519592.67133,
|
150
|
-
0.000493049621582031
|
151
|
-
],
|
152
|
-
[
|
153
|
-
[
|
154
|
-
[
|
155
|
-
3
|
156
|
-
],
|
157
|
-
[
|
158
|
-
[
|
159
|
-
"_id",
|
160
|
-
"UInt32"
|
161
|
-
],
|
162
|
-
[
|
163
|
-
"_key",
|
164
|
-
"ShortText"
|
165
|
-
],
|
166
|
-
[
|
167
|
-
"content",
|
168
|
-
"Text"
|
169
|
-
]
|
170
|
-
],
|
171
|
-
[
|
172
|
-
1,
|
173
|
-
"The first post!",
|
174
|
-
"Welcome! This is my first post!"
|
175
|
-
],
|
176
|
-
[
|
177
|
-
2,
|
178
|
-
"Groonga",
|
179
|
-
"I started to use groonga. It's very fast!"
|
180
|
-
],
|
181
|
-
[
|
182
|
-
3,
|
183
|
-
"Mroonga",
|
184
|
-
"I also started to use mroonga. It's also very fast! Really fast!"
|
185
|
-
]
|
186
|
-
]
|
187
|
-
]
|
188
|
-
]
|
189
|
-
</pre></div>
|
190
|
-
</div>
|
191
|
-
<p>Why does the command output all records? There are two reasons. The
|
192
|
-
first reason is that the command doesn't specify any search
|
193
|
-
conditions. No search condition means all records are matched. The
|
194
|
-
second reason is that the number of all records is 3. <tt class="docutils literal"><span class="pre">select</span></tt>
|
195
|
-
command outputs 10 records at a maximum by default. There are only 3
|
196
|
-
records. It is less than 10. So the command outputs all records.</p>
|
197
|
-
</div>
|
198
|
-
<div class="section" id="search-conditions">
|
199
|
-
<h3>7.3.17.3.2. Search conditions<a class="headerlink" href="#search-conditions" title="Permalink to this headline">¶</a></h3>
|
200
|
-
<p>Search conditions are specified by <tt class="docutils literal"><span class="pre">query</span></tt> or <tt class="docutils literal"><span class="pre">filter</span></tt>. You can
|
201
|
-
also specify both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>. It means that selected
|
202
|
-
records must be matched against both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>.</p>
|
203
|
-
<div class="section" id="search-condition-query">
|
204
|
-
<h4>7.3.17.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#search-condition-query" title="Permalink to this headline">¶</a></h4>
|
205
|
-
<p><tt class="docutils literal"><span class="pre">query</span></tt> is designed for search box in Web page. Imagine a search box
|
206
|
-
in google.com. You specify search conditions for <tt class="docutils literal"><span class="pre">query</span></tt> as space
|
207
|
-
separated keywords. For example, <tt class="docutils literal"><span class="pre">search</span> <span class="pre">engine</span></tt> means a matched
|
208
|
-
record should contain two words, <tt class="docutils literal"><span class="pre">search</span></tt> and <tt class="docutils literal"><span class="pre">engine</span></tt>.</p>
|
209
|
-
<p>Normally, <tt class="docutils literal"><span class="pre">query</span></tt> parameter is used for specifying fulltext search
|
210
|
-
conditions. It can be used for non fulltext search conditions but
|
211
|
-
<tt class="docutils literal"><span class="pre">filter</span></tt> is used for the propose.</p>
|
212
|
-
<p><tt class="docutils literal"><span class="pre">query</span></tt> parameter is used with <tt class="docutils literal"><span class="pre">match_columns</span></tt> parameter when
|
213
|
-
<tt class="docutils literal"><span class="pre">query</span></tt> parameter is used for specifying fulltext search
|
214
|
-
conditions. <tt class="docutils literal"><span class="pre">match_columns</span></tt> specifies which columnes and indexes are
|
215
|
-
matched against <tt class="docutils literal"><span class="pre">query</span></tt>.</p>
|
216
|
-
<p>Here is a simple <tt class="docutils literal"><span class="pre">query</span></tt> usage example.</p>
|
217
|
-
<p>Execution example:</p>
|
218
|
-
<div class="highlight-none"><div class="highlight"><pre>> select Entries --match_columns content --query fast
|
219
|
-
[
|
220
|
-
[
|
221
|
-
0,
|
222
|
-
1335519592.87374,
|
223
|
-
0.000868797302246094
|
224
|
-
],
|
225
|
-
[
|
226
|
-
[
|
227
|
-
[
|
228
|
-
2
|
229
|
-
],
|
230
|
-
[
|
231
|
-
[
|
232
|
-
"_id",
|
233
|
-
"UInt32"
|
234
|
-
],
|
235
|
-
[
|
236
|
-
"_key",
|
237
|
-
"ShortText"
|
238
|
-
],
|
239
|
-
[
|
240
|
-
"content",
|
241
|
-
"Text"
|
242
|
-
]
|
243
|
-
],
|
244
|
-
[
|
245
|
-
2,
|
246
|
-
"Groonga",
|
247
|
-
"I started to use groonga. It's very fast!"
|
248
|
-
],
|
249
|
-
[
|
250
|
-
3,
|
251
|
-
"Mroonga",
|
252
|
-
"I also started to use mroonga. It's also very fast! Really fast!"
|
253
|
-
]
|
254
|
-
]
|
255
|
-
]
|
256
|
-
]
|
257
|
-
</pre></div>
|
258
|
-
</div>
|
259
|
-
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt>
|
260
|
-
in <tt class="docutils literal"><span class="pre">content</span></tt> column value from <tt class="docutils literal"><span class="pre">Entries</span></tt> table.</p>
|
261
|
-
<p><tt class="docutils literal"><span class="pre">query</span></tt> has query syntax but its deatils aren't described here. See
|
262
|
-
<a class="reference internal" href="../spec/query_syntax.html"><em>Query syntax</em></a> for datails.</p>
|
263
|
-
</div>
|
264
|
-
<div class="section" id="search-condition-filter">
|
265
|
-
<h4>7.3.17.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#search-condition-filter" title="Permalink to this headline">¶</a></h4>
|
266
|
-
<p><tt class="docutils literal"><span class="pre">filter</span></tt> is designed for complex search conditions. You specify
|
267
|
-
search conditions for <tt class="docutils literal"><span class="pre">filter</span></tt> as ECMAScript like syntax.</p>
|
268
|
-
<p>Here is a simple <tt class="docutils literal"><span class="pre">filter</span></tt> usage example.</p>
|
269
|
-
<p>Execution example:</p>
|
270
|
-
<div class="highlight-none"><div class="highlight"><pre>> select Entries --filter 'content @ "fast" && _key == "Groonga"'
|
271
|
-
[
|
272
|
-
[
|
273
|
-
0,
|
274
|
-
1335520300.98383,
|
275
|
-
0.000544071197509766
|
276
|
-
],
|
277
|
-
[
|
278
|
-
[
|
279
|
-
[
|
280
|
-
1
|
281
|
-
],
|
282
|
-
[
|
283
|
-
[
|
284
|
-
"_id",
|
285
|
-
"UInt32"
|
286
|
-
],
|
287
|
-
[
|
288
|
-
"_key",
|
289
|
-
"ShortText"
|
290
|
-
],
|
291
|
-
[
|
292
|
-
"content",
|
293
|
-
"Text"
|
294
|
-
]
|
295
|
-
],
|
296
|
-
[
|
297
|
-
2,
|
298
|
-
"Groonga",
|
299
|
-
"I started to use groonga. It's very fast!"
|
300
|
-
]
|
301
|
-
]
|
302
|
-
]
|
303
|
-
]
|
304
|
-
</pre></div>
|
305
|
-
</div>
|
306
|
-
<p>The <tt class="docutils literal"><span class="pre">select</span></tt> command searches records that contain a word <tt class="docutils literal"><span class="pre">fast</span></tt>
|
307
|
-
in <tt class="docutils literal"><span class="pre">content</span></tt> column value and has <tt class="docutils literal"><span class="pre">Groonga</span></tt> as <tt class="docutils literal"><span class="pre">_key</span></tt> from
|
308
|
-
<tt class="docutils literal"><span class="pre">Entries</span></tt> table. There are three operators in the command, <tt class="docutils literal"><span class="pre">@</span></tt>,
|
309
|
-
<tt class="docutils literal"><span class="pre">&&</span></tt> and <tt class="docutils literal"><span class="pre">==</span></tt>. <tt class="docutils literal"><span class="pre">@</span></tt> is fulltext search operator. <tt class="docutils literal"><span class="pre">&&</span></tt> and
|
310
|
-
<tt class="docutils literal"><span class="pre">==</span></tt> are the same as ECMAScript. <tt class="docutils literal"><span class="pre">&&</span></tt> is logical AND operator and
|
311
|
-
<tt class="docutils literal"><span class="pre">==</span></tt> is equality operator.</p>
|
312
|
-
<p><tt class="docutils literal"><span class="pre">filter</span></tt> has more operators and syntax like grouping by <tt class="docutils literal"><span class="pre">(...)</span></tt>
|
313
|
-
its deatils aren't described here. See <a class="reference internal" href="../spec/script_syntax.html"><em>Script Syntax</em></a> for
|
314
|
-
datails.</p>
|
315
|
-
</div>
|
316
|
-
</div>
|
317
|
-
<div class="section" id="paging">
|
318
|
-
<h3>7.3.17.3.3. Paging<a class="headerlink" href="#paging" title="Permalink to this headline">¶</a></h3>
|
319
|
-
<p>You can specify range of outputted records by <tt class="docutils literal"><span class="pre">offset</span></tt> and <tt class="docutils literal"><span class="pre">limit</span></tt>.
|
320
|
-
Here is an example to output only the 2nd record.</p>
|
321
|
-
<p>Execution example:</p>
|
322
|
-
<div class="highlight-none"><div class="highlight"><pre>> select Entries --offset 1 --limit 1
|
323
|
-
[
|
324
|
-
[
|
325
|
-
0,
|
326
|
-
1335519593.28077,
|
327
|
-
0.000288248062133789
|
328
|
-
],
|
329
|
-
[
|
330
|
-
[
|
331
|
-
[
|
332
|
-
3
|
333
|
-
],
|
334
|
-
[
|
335
|
-
[
|
336
|
-
"_id",
|
337
|
-
"UInt32"
|
338
|
-
],
|
339
|
-
[
|
340
|
-
"_key",
|
341
|
-
"ShortText"
|
342
|
-
],
|
343
|
-
[
|
344
|
-
"content",
|
345
|
-
"Text"
|
346
|
-
]
|
347
|
-
],
|
348
|
-
[
|
349
|
-
2,
|
350
|
-
"Groonga",
|
351
|
-
"I started to use groonga. It's very fast!"
|
352
|
-
]
|
353
|
-
]
|
354
|
-
]
|
355
|
-
]
|
356
|
-
</pre></div>
|
357
|
-
</div>
|
358
|
-
<p><tt class="docutils literal"><span class="pre">offset</span></tt> is zero-origin. <tt class="docutils literal"><span class="pre">--offset</span> <span class="pre">1</span></tt> means output range is
|
359
|
-
started from the 2nd record.</p>
|
360
|
-
<p><tt class="docutils literal"><span class="pre">limit</span></tt> specifies the max number of output records. <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">1</span></tt>
|
361
|
-
means the number of output records is 1 at a maximium. If no records
|
362
|
-
are matched, <tt class="docutils literal"><span class="pre">select</span></tt> command outputs no records.</p>
|
363
|
-
</div>
|
364
|
-
<div class="section" id="the-total-number-of-records">
|
365
|
-
<h3>7.3.17.3.4. The total number of records<a class="headerlink" href="#the-total-number-of-records" title="Permalink to this headline">¶</a></h3>
|
366
|
-
<p>You can use <tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> to retrieve the total number of recrods
|
367
|
-
without any contents of records.</p>
|
368
|
-
<p>Execution example:</p>
|
369
|
-
<div class="highlight-none"><div class="highlight"><pre>> select Entries --limit 0
|
370
|
-
[
|
371
|
-
[
|
372
|
-
0,
|
373
|
-
1335519593.48351,
|
374
|
-
0.000329017639160156
|
375
|
-
],
|
376
|
-
[
|
377
|
-
[
|
378
|
-
[
|
379
|
-
3
|
380
|
-
],
|
381
|
-
[
|
382
|
-
[
|
383
|
-
"_id",
|
384
|
-
"UInt32"
|
385
|
-
],
|
386
|
-
[
|
387
|
-
"_key",
|
388
|
-
"ShortText"
|
389
|
-
],
|
390
|
-
[
|
391
|
-
"content",
|
392
|
-
"Text"
|
393
|
-
]
|
394
|
-
]
|
395
|
-
]
|
396
|
-
]
|
397
|
-
]
|
398
|
-
</pre></div>
|
399
|
-
</div>
|
400
|
-
<p><tt class="docutils literal"><span class="pre">--limit</span> <span class="pre">0</span></tt> is also useful for retrieving only the number of matched
|
401
|
-
records.</p>
|
402
|
-
</div>
|
403
|
-
</div>
|
404
|
-
<div class="section" id="parameters">
|
405
|
-
<h2>7.3.17.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
406
|
-
<p>This section describes all parameters. Parameters are categorized.</p>
|
407
|
-
<div class="section" id="required-parameter">
|
408
|
-
<h3>7.3.17.4.1. Required parameter<a class="headerlink" href="#required-parameter" title="Permalink to this headline">¶</a></h3>
|
409
|
-
<p>There is a required parameter, <tt class="docutils literal"><span class="pre">table</span></tt>.</p>
|
410
|
-
<div class="section" id="table">
|
411
|
-
<h4>7.3.17.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt><a class="headerlink" href="#table" title="Permalink to this headline">¶</a></h4>
|
412
|
-
<p>It specifies a table to be searched. <tt class="docutils literal"><span class="pre">table</span></tt> must be specified.</p>
|
413
|
-
<p>If nonexistent table is specified, an error is returned.</p>
|
414
|
-
<p>Execution example:</p>
|
415
|
-
<div class="highlight-none"><div class="highlight"><pre>> select Nonexistent
|
416
|
-
[
|
417
|
-
[
|
418
|
-
-22,
|
419
|
-
1335519593.68574,
|
420
|
-
0.000583171844482422,
|
421
|
-
"invalid table name: <Nonexistent>",
|
422
|
-
[
|
423
|
-
[
|
424
|
-
"grn_select",
|
425
|
-
"proc.c",
|
426
|
-
542
|
427
|
-
]
|
428
|
-
]
|
429
|
-
]
|
430
|
-
]
|
431
|
-
</pre></div>
|
432
|
-
</div>
|
433
|
-
</div>
|
434
|
-
</div>
|
435
|
-
<div class="section" id="search-related-parameters">
|
436
|
-
<h3>7.3.17.4.2. Search related parameters<a class="headerlink" href="#search-related-parameters" title="Permalink to this headline">¶</a></h3>
|
437
|
-
<p>There are search related parameters. Typically, <tt class="docutils literal"><span class="pre">match_columns</span></tt> and
|
438
|
-
<tt class="docutils literal"><span class="pre">query</span></tt> parameters are used for implementing a search
|
439
|
-
box. <tt class="docutils literal"><span class="pre">filter</span></tt> parameters is used for implementing complex search
|
440
|
-
feature.</p>
|
441
|
-
<p>If both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt> are specified, selected records must
|
442
|
-
be matched against both <tt class="docutils literal"><span class="pre">query</span></tt> and <tt class="docutils literal"><span class="pre">filter</span></tt>. If both <tt class="docutils literal"><span class="pre">query</span></tt>
|
443
|
-
and <tt class="docutils literal"><span class="pre">filter</span></tt> aren't specified, all records are selected.</p>
|
444
|
-
<div class="section" id="match-columns">
|
445
|
-
<h4>7.3.17.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt><a class="headerlink" href="#match-columns" title="Permalink to this headline">¶</a></h4>
|
446
|
-
<p>It specifies the default target column for fulltext search by
|
447
|
-
<tt class="docutils literal"><span class="pre">query</span></tt> parameter value. A target column for fulltext search can be
|
448
|
-
specified in <tt class="docutils literal"><span class="pre">query</span></tt> parameter. The difference between
|
449
|
-
<tt class="docutils literal"><span class="pre">match_columns</span></tt> and <tt class="docutils literal"><span class="pre">query</span></tt> is whether weight is supported or
|
450
|
-
not. <tt class="docutils literal"><span class="pre">match_columns</span></tt> supports weight but <tt class="docutils literal"><span class="pre">query</span></tt> doesn't.</p>
|
451
|
-
<p>Weight is relative importance of target column. A higher weight target
|
452
|
-
column gets more hit score rather than a lower weight target column
|
453
|
-
when a record is matched by fulltext search. The default weight is 1.</p>
|
454
|
-
<p>Here is a simple <tt class="docutils literal"><span class="pre">match_columns</span></tt> usage example.</p>
|
455
|
-
<p>Execution example:</p>
|
456
|
-
<div class="highlight-none"><div class="highlight"><pre>> select Entries --match_columns content --query fast --output_columns '_key, _score'
|
457
|
-
[
|
458
|
-
[
|
459
|
-
0,
|
460
|
-
1335519593.88754,
|
461
|
-
0.000384092330932617
|
462
|
-
],
|
463
|
-
[
|
464
|
-
[
|
465
|
-
[
|
466
|
-
2
|
467
|
-
],
|
468
|
-
[
|
469
|
-
[
|
470
|
-
"_key",
|
471
|
-
"ShortText"
|
472
|
-
],
|
473
|
-
[
|
474
|
-
"_score",
|
475
|
-
"Int32"
|
476
|
-
]
|
477
|
-
],
|
478
|
-
[
|
479
|
-
"Groonga",
|
480
|
-
1
|
481
|
-
],
|
482
|
-
[
|
483
|
-
"Mroonga",
|
484
|
-
2
|
485
|
-
]
|
486
|
-
]
|
487
|
-
]
|
488
|
-
]
|
489
|
-
</pre></div>
|
490
|
-
</div>
|
491
|
-
<p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">content</span></tt> means the default target column for
|
492
|
-
fulltext search is <tt class="docutils literal"><span class="pre">content</span></tt> column and its weight
|
493
|
-
is 1. <tt class="docutils literal"><span class="pre">--output_columns</span> <span class="pre">'_key,</span> <span class="pre">_score'</span></tt> means that the <tt class="docutils literal"><span class="pre">select</span></tt>
|
494
|
-
command outputs <tt class="docutils literal"><span class="pre">_key</span></tt> value and <tt class="docutils literal"><span class="pre">_score</span></tt> value for matched
|
495
|
-
records.</p>
|
496
|
-
<p>Pay attention to <tt class="docutils literal"><span class="pre">_score</span></tt> value. <tt class="docutils literal"><span class="pre">_score</span></tt> value is the number of
|
497
|
-
matched counts against <tt class="docutils literal"><span class="pre">query</span></tt> parameter value. In the example,
|
498
|
-
<tt class="docutils literal"><span class="pre">query</span></tt> parameter value is <tt class="docutils literal"><span class="pre">fast</span></tt>. The fact that <tt class="docutils literal"><span class="pre">_score</span></tt> value
|
499
|
-
is 1 means that <tt class="docutils literal"><span class="pre">fast</span></tt> appers in <tt class="docutils literal"><span class="pre">content</span></tt> column only once. The
|
500
|
-
fact that <tt class="docutils literal"><span class="pre">_score</span></tt> value is 2 means that <tt class="docutils literal"><span class="pre">fast</span></tt> appears in
|
501
|
-
<tt class="docutils literal"><span class="pre">content</span></tt> column twice.</p>
|
502
|
-
<p>To specify weight, <tt class="docutils literal"><span class="pre">column</span> <span class="pre">*</span> <span class="pre">weight</span></tt> syntax is used. Here is a
|
503
|
-
weight usage example.</p>
|
504
|
-
<p>Execution example:</p>
|
505
|
-
<div class="highlight-none"><div class="highlight"><pre>> select Entries --match_columns 'content * 2' --query fast --output_columns '_key, _score'
|
506
|
-
[
|
507
|
-
[
|
508
|
-
0,
|
509
|
-
1335519594.08917,
|
510
|
-
0.0003814697265625
|
511
|
-
],
|
512
|
-
[
|
513
|
-
[
|
514
|
-
[
|
515
|
-
2
|
516
|
-
],
|
517
|
-
[
|
518
|
-
[
|
519
|
-
"_key",
|
520
|
-
"ShortText"
|
521
|
-
],
|
522
|
-
[
|
523
|
-
"_score",
|
524
|
-
"Int32"
|
525
|
-
]
|
526
|
-
],
|
527
|
-
[
|
528
|
-
"Groonga",
|
529
|
-
2
|
530
|
-
],
|
531
|
-
[
|
532
|
-
"Mroonga",
|
533
|
-
4
|
534
|
-
]
|
535
|
-
]
|
536
|
-
]
|
537
|
-
]
|
538
|
-
</pre></div>
|
539
|
-
</div>
|
540
|
-
<p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'content</span> <span class="pre">*</span> <span class="pre">2'</span></tt> means the default target column for
|
541
|
-
fulltext search is <tt class="docutils literal"><span class="pre">content</span></tt> column and its weight is 2.</p>
|
542
|
-
<p>Pay attention to <tt class="docutils literal"><span class="pre">_score</span></tt> value. <tt class="docutils literal"><span class="pre">_score</span></tt> value is doubled because
|
543
|
-
weight is 2.</p>
|
544
|
-
<p>You can specify one or more columns as the default target columns for
|
545
|
-
fulltext search. If one or more columns are specified, fulltext search
|
546
|
-
is done for all columns and scores are accumulated. If one of the
|
547
|
-
columns is matched against <tt class="docutils literal"><span class="pre">query</span></tt> parameter value, the record is
|
548
|
-
treated as matched.</p>
|
549
|
-
<p>To specify one or more columns, <tt class="docutils literal"><span class="pre">column1</span> <span class="pre">*</span> <span class="pre">weight1</span> <span class="pre">||</span> <span class="pre">column2</span> <span class="pre">*</span>
|
550
|
-
<span class="pre">weight2</span> <span class="pre">||</span> <span class="pre">...</span></tt> syntax is used. <tt class="docutils literal"><span class="pre">*</span> <span class="pre">weight</span></tt> can be omitted. If it is
|
551
|
-
omitted, 1 is used for weight. Here is a one or more columns usage
|
552
|
-
example.</p>
|
553
|
-
<p>Execution example:</p>
|
554
|
-
<div class="highlight-none"><div class="highlight"><pre>> select Entries --match_columns '_key * 10 || content' --query groonga --output_columns '_key, _score'
|
555
|
-
[
|
556
|
-
[
|
557
|
-
0,
|
558
|
-
1335594540.29792,
|
559
|
-
0.000547885894775391
|
560
|
-
],
|
561
|
-
[
|
562
|
-
[
|
563
|
-
[
|
564
|
-
1
|
565
|
-
],
|
566
|
-
[
|
567
|
-
[
|
568
|
-
"_key",
|
569
|
-
"ShortText"
|
570
|
-
],
|
571
|
-
[
|
572
|
-
"_score",
|
573
|
-
"Int32"
|
574
|
-
]
|
575
|
-
],
|
576
|
-
[
|
577
|
-
"Groonga",
|
578
|
-
11
|
579
|
-
]
|
580
|
-
]
|
581
|
-
]
|
582
|
-
]
|
583
|
-
</pre></div>
|
584
|
-
</div>
|
585
|
-
<p><tt class="docutils literal"><span class="pre">--match_columns</span> <span class="pre">'_key</span> <span class="pre">*</span> <span class="pre">10</span> <span class="pre">||</span> <span class="pre">content'</span></tt> means the default target
|
586
|
-
columns for fulltext search are <tt class="docutils literal"><span class="pre">_key</span></tt> and <tt class="docutils literal"><span class="pre">content</span></tt> columns and
|
587
|
-
<tt class="docutils literal"><span class="pre">_key</span></tt> column's weight is 10 and <tt class="docutils literal"><span class="pre">content</span></tt> column's weight
|
588
|
-
is 1. This weight allocation means <tt class="docutils literal"><span class="pre">_key</span></tt> column value is more
|
589
|
-
important rather than <tt class="docutils literal"><span class="pre">content</span></tt> column value. In this example, title
|
590
|
-
of blog entry is more important rather thatn content of blog entry.</p>
|
591
|
-
</div>
|
592
|
-
<div class="section" id="query">
|
593
|
-
<h4>7.3.17.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt><a class="headerlink" href="#query" title="Permalink to this headline">¶</a></h4>
|
594
|
-
<p>TODO: write short description and add example.</p>
|
595
|
-
<p>See <a class="reference internal" href="../spec/query_syntax.html"><em>Query syntax</em></a>.</p>
|
596
|
-
</div>
|
597
|
-
<div class="section" id="filter">
|
598
|
-
<h4>7.3.17.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt><a class="headerlink" href="#filter" title="Permalink to this headline">¶</a></h4>
|
599
|
-
<p>TODO: write short description and add example.</p>
|
600
|
-
<p>See <a class="reference internal" href="../spec/script_syntax.html"><em>Script Syntax</em></a>.</p>
|
601
|
-
</div>
|
602
|
-
</div>
|
603
|
-
<div class="section" id="advanced-search-parameters">
|
604
|
-
<h3>7.3.17.4.3. Advanced search parameters<a class="headerlink" href="#advanced-search-parameters" title="Permalink to this headline">¶</a></h3>
|
605
|
-
<div class="section" id="match-escalation-threshold">
|
606
|
-
<h4>7.3.17.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt><a class="headerlink" href="#match-escalation-threshold" title="Permalink to this headline">¶</a></h4>
|
607
|
-
<p>TODO: add example.</p>
|
608
|
-
<p>It specifies threshold to determine whether search storategy
|
609
|
-
escalation is used or not. The threshold is compared against the
|
610
|
-
number of matched records. If the number of matched records is equal
|
611
|
-
to or less than the threshold, search storategy escalation is
|
612
|
-
used. See <a class="reference internal" href="../spec/search.html"><em>検索</em></a> about search storategy escalation.</p>
|
613
|
-
<p>The default threshold is 0. It means that search storategy escalation
|
614
|
-
is used only when no records are matched.</p>
|
615
|
-
<p>The default threshold can be customized by one of the followings.</p>
|
616
|
-
<blockquote>
|
617
|
-
<div><ul class="simple">
|
618
|
-
<li><tt class="docutils literal"><span class="pre">--with-match-escalation-threshold</span></tt> option of configure</li>
|
619
|
-
<li><tt class="docutils literal"><span class="pre">--match-escalation-threshold</span></tt> option of groogna command</li>
|
620
|
-
<li><tt class="docutils literal"><span class="pre">match-escalation-threshold</span></tt> configuration item in configuration
|
621
|
-
file</li>
|
622
|
-
</ul>
|
623
|
-
</div></blockquote>
|
624
|
-
</div>
|
625
|
-
<div class="section" id="query-expansion">
|
626
|
-
<h4>7.3.17.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt><a class="headerlink" href="#query-expansion" title="Permalink to this headline">¶</a></h4>
|
627
|
-
<p>TODO: write in English and add example.</p>
|
628
|
-
<p>It specifies a column that is used to expand (substitute) <tt class="docutils literal"><span class="pre">query</span></tt>
|
629
|
-
parameter value.</p>
|
630
|
-
<p>query_expansionパラメータには、queryパラメータに指定された文字列を置換(拡張)する条件となるテーブル・カラムを指定します。フォーマットは「${テーブル名}.${カラム名}」となります。指定するテーブルは文字列を主キーとするハッシュ型あるいはパトリシア木型のテーブルで、一つ以上の文字列型のカラムが定義されている必要があります。(ここでは置換テーブルと呼びます。)</p>
|
631
|
-
<p>queryパラメータに指定された文字列が、指定されたテーブルの主キーと完全一致する場合、その文字列を指定されたカラム値の文字列に置換します。queryパラメータが、空白、括弧、演算子などを含む場合は、その演算子によって区切られた文字列の単位で置換が実行されます。ダブルクォート("")で括られた範囲は、その内部に空白を含んでいても一つの置換される単位と見なされます。検索文字列と置換テーブルの主キー値との比較に際して大文字小文字等を区別したくない場合には、置換テーブルを定義する際にKEY_NORMALIZEを指定します。置換後の文字列となるカラムの値には、括弧や*, ORなど、queryパラメータで利用可能な全ての演算子を指定することができます。</p>
|
632
|
-
</div>
|
633
|
-
</div>
|
634
|
-
<div class="section" id="output-related-parameters">
|
635
|
-
<h3>7.3.17.4.4. Output related parameters<a class="headerlink" href="#output-related-parameters" title="Permalink to this headline">¶</a></h3>
|
636
|
-
<div class="section" id="output-columns">
|
637
|
-
<h4>7.3.17.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt><a class="headerlink" href="#output-columns" title="Permalink to this headline">¶</a></h4>
|
638
|
-
<p>TODO: write in English and add example.</p>
|
639
|
-
<p>出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
|
640
|
-
<p>アスタリスク('*')を指定すると、全てのカラムが指定されたものとみなされます。または、script形式のgrn_expr文字列を指定します。 (デフォルトは、'_id, _key, *')</p>
|
641
|
-
</div>
|
642
|
-
<div class="section" id="sortby">
|
643
|
-
<h4>7.3.17.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt><a class="headerlink" href="#sortby" title="Permalink to this headline">¶</a></h4>
|
644
|
-
<p>TODO: write in English and add example.</p>
|
645
|
-
<p>ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。:</p>
|
646
|
-
<div class="highlight-none"><div class="highlight"><pre>[-]カラム名1, [-]カラム名2, [-]カラム名3, ...
|
647
|
-
</pre></div>
|
648
|
-
</div>
|
649
|
-
<p>カラム名1の値でソートし、値が同一である場合はカラム名2でソート、と順次比較を行いソートします。カラム名の前に - を付加した場合は降順にソートします。付加しない場合には昇順にソートします。</p>
|
650
|
-
<p>query引数またはfilter引数を指定した場合はカラム名に'_score'を使えます。'_score'を指定することでスコアでソートすることができます。query引数もfilter引数も指定していない状態で'_score'を指定するとエラーになります。</p>
|
651
|
-
</div>
|
652
|
-
<div class="section" id="offset">
|
653
|
-
<h4>7.3.17.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt><a class="headerlink" href="#offset" title="Permalink to this headline">¶</a></h4>
|
654
|
-
<p>TODO: write in English and add example.</p>
|
655
|
-
<p>検索条件にマッチしたレコードのうち、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。offsetに負の値を指定した場合は、ヒットした件数 + offset によって算出される値が指定されたものとみなされます。</p>
|
656
|
-
</div>
|
657
|
-
<div class="section" id="limit">
|
658
|
-
<h4>7.3.17.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt><a class="headerlink" href="#limit" title="Permalink to this headline">¶</a></h4>
|
659
|
-
<p>TODO: write in English and add example.</p>
|
660
|
-
<p>検索条件にマッチしたレコードのうち、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、offset + limit がヒットした件数を超えない範囲でレコードが出力されます。limitに負の値を指定した場合は、ヒットした件数 + limit + 1 によって算出される値が指定されたものとみなされます。</p>
|
661
|
-
</div>
|
662
|
-
<div class="section" id="scorer">
|
663
|
-
<h4>7.3.17.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt><a class="headerlink" href="#scorer" title="Permalink to this headline">¶</a></h4>
|
664
|
-
<p>TODO: write in English and add example.</p>
|
665
|
-
<p>検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。</p>
|
666
|
-
<p>scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。</p>
|
667
|
-
</div>
|
668
|
-
</div>
|
669
|
-
<div class="section" id="facet-related-parameters">
|
670
|
-
<h3>7.3.17.4.5. Facet related parameters<a class="headerlink" href="#facet-related-parameters" title="Permalink to this headline">¶</a></h3>
|
671
|
-
<div class="section" id="drilldown">
|
672
|
-
<h4>7.3.17.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt><a class="headerlink" href="#drilldown" title="Permalink to this headline">¶</a></h4>
|
673
|
-
<p>TODO: write in English and add example.</p>
|
674
|
-
<p>グループ化のキーとなるカラム名のリストをカンマ(',')区切りで指定します。検索条件にマッチした各レコードを出力したのちに、drilldownに指定されたカラムの値が同一であるレコードをとりまとめて、それぞれについて結果レコードを出力します。</p>
|
675
|
-
</div>
|
676
|
-
<div class="section" id="drilldown-sortby">
|
677
|
-
<h4>7.3.17.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt><a class="headerlink" href="#drilldown-sortby" title="Permalink to this headline">¶</a></h4>
|
678
|
-
<p>TODO: write in English and add example.</p>
|
679
|
-
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、ソートキーとなるカラム名のリストをカンマ(',')区切りで指定します。sortbyパラメータと同様に昇降順を指定できます。</p>
|
680
|
-
</div>
|
681
|
-
<div class="section" id="drilldown-output-columns">
|
682
|
-
<h4>7.3.17.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt><a class="headerlink" href="#drilldown-output-columns" title="Permalink to this headline">¶</a></h4>
|
683
|
-
<p>TODO: write in English and add example.</p>
|
684
|
-
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力するカラム名のリストをカンマ(',')区切りで指定します。</p>
|
685
|
-
</div>
|
686
|
-
<div class="section" id="drilldown-offset">
|
687
|
-
<h4>7.3.17.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt><a class="headerlink" href="#drilldown-offset" title="Permalink to this headline">¶</a></h4>
|
688
|
-
<p>TODO: write in English and add example.</p>
|
689
|
-
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力対象となる最初のレコードの番号を0ベースで指定します。デフォルト値は0です。drilldown_offsetに負の値を指定した場合は、ヒットした件数 + drilldown_offsetによって算出される値が指定されたものとみなされます。</p>
|
690
|
-
</div>
|
691
|
-
<div class="section" id="drilldown-limit">
|
692
|
-
<h4>7.3.17.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt><a class="headerlink" href="#drilldown-limit" title="Permalink to this headline">¶</a></h4>
|
693
|
-
<p>TODO: write in English and add example.</p>
|
694
|
-
<p>drilldown条件に指定されたカラムの値毎にとりまとめられたレコードについて、出力を行うレコードの件数を指定します。デフォルト値は10です。実際には、drilldown_offset + drilldown_limit がヒットした件数を超えない範囲でレコードが出力されます。drilldown_limitに負の値を指定した場合は、ヒットした件数 + drilldown_limit + 1 によって算出される値が指定されたものとみなされます。</p>
|
695
|
-
</div>
|
696
|
-
</div>
|
697
|
-
<div class="section" id="cache-related-parameter">
|
698
|
-
<h3>7.3.17.4.6. Cache related parameter<a class="headerlink" href="#cache-related-parameter" title="Permalink to this headline">¶</a></h3>
|
699
|
-
<div class="section" id="cache">
|
700
|
-
<h4>7.3.17.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt><a class="headerlink" href="#cache" title="Permalink to this headline">¶</a></h4>
|
701
|
-
<p>TODO: write in English and add example.</p>
|
702
|
-
<p>クエリキャッシュに関する動作を設定します。</p>
|
703
|
-
<p><tt class="docutils literal"><span class="pre">no</span></tt></p>
|
704
|
-
<blockquote>
|
705
|
-
<div>検索結果をクエリキャッシュに残しません。キャッシュして再利用される可能性が低いクエリに対して用います。キャッシュ容量は有限です。有効なキャッシュが多くヒットするために、このパラメータは有効です。</div></blockquote>
|
706
|
-
</div>
|
707
|
-
</div>
|
708
|
-
</div>
|
709
|
-
<div class="section" id="id1">
|
710
|
-
<h2>7.3.17.5. 返値<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
|
711
|
-
<p>TODO: write in English and add example.</p>
|
712
|
-
<p>以下のようなjson形式で値が返却されます。</p>
|
713
|
-
<div class="highlight-none"><div class="highlight"><pre>[[リターンコード, 処理開始時間, 処理時間], [検索結果, ドリルダウン結果]]
|
714
|
-
</pre></div>
|
715
|
-
</div>
|
716
|
-
<p><tt class="docutils literal"><span class="pre">リターンコード</span></tt></p>
|
717
|
-
<blockquote>
|
718
|
-
<div>grn_rcに対応する数値が返されます。0(GRN_SUCCESS)以外の場合は、続いてエラー内容を示す
|
719
|
-
文字列が返されます。</div></blockquote>
|
720
|
-
<p><tt class="docutils literal"><span class="pre">処理開始時間</span></tt></p>
|
721
|
-
<blockquote>
|
722
|
-
<div>処理を開始した時間について、1970年1月1日0時0分0秒を起点とした秒数を小数で返します。</div></blockquote>
|
723
|
-
<p><tt class="docutils literal"><span class="pre">処理時間</span></tt></p>
|
724
|
-
<blockquote>
|
725
|
-
<div>処理にかかった秒数を返します。</div></blockquote>
|
726
|
-
<p><tt class="docutils literal"><span class="pre">検索結果</span></tt></p>
|
727
|
-
<blockquote>
|
728
|
-
<div><p>drilldown条件が実行される前の検索結果が以下のように出力されます。:</p>
|
729
|
-
<div class="highlight-none"><div class="highlight"><pre>[[検索件数], [[カラム名1,カラム型1],..], 検索結果1,..]
|
730
|
-
</pre></div>
|
731
|
-
</div>
|
732
|
-
<p><tt class="docutils literal"><span class="pre">検索件数</span></tt></p>
|
733
|
-
<blockquote>
|
734
|
-
<div>検索件数が出力されます。</div></blockquote>
|
735
|
-
<p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
|
736
|
-
<blockquote>
|
737
|
-
<div>output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
|
738
|
-
<p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
|
739
|
-
<blockquote>
|
740
|
-
<div>output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
|
741
|
-
<p><tt class="docutils literal"><span class="pre">検索結果n</span></tt></p>
|
742
|
-
<blockquote>
|
743
|
-
<div>output_columns, offset, limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
|
744
|
-
</div></blockquote>
|
745
|
-
<p><tt class="docutils literal"><span class="pre">drilldown結果</span></tt></p>
|
746
|
-
<blockquote>
|
747
|
-
<div><p>drilldown処理の結果が以下のように出力されます。:</p>
|
748
|
-
<div class="highlight-none"><div class="highlight"><pre>[[[件数], [[カラム名1,カラム型1],..], 検索結果1,..],..]
|
749
|
-
</pre></div>
|
750
|
-
</div>
|
751
|
-
<p><tt class="docutils literal"><span class="pre">件数</span></tt></p>
|
752
|
-
<blockquote>
|
753
|
-
<div>drilldownに指定されたカラムの値の異なり数が出力されます。</div></blockquote>
|
754
|
-
<p><tt class="docutils literal"><span class="pre">カラム名n</span></tt></p>
|
755
|
-
<blockquote>
|
756
|
-
<div>drilldown_output_columnsに指定された条件に従って、対象となるカラム名が出力されます。</div></blockquote>
|
757
|
-
<p><tt class="docutils literal"><span class="pre">カラム型n</span></tt></p>
|
758
|
-
<blockquote>
|
759
|
-
<div>drilldown_output_columnsに指定された条件に従って、対象となるカラム型が出力されます。</div></blockquote>
|
760
|
-
<p><tt class="docutils literal"><span class="pre">ドリルダウン結果n</span></tt></p>
|
761
|
-
<blockquote>
|
762
|
-
<div>drilldown_output_columns, drilldown_offset, drilldown_limitによって指定された条件に従って各レコードの値が出力されます。</div></blockquote>
|
763
|
-
</div></blockquote>
|
764
|
-
</div>
|
765
|
-
<div class="section" id="see-also">
|
766
|
-
<h2>7.3.17.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
767
|
-
<blockquote>
|
768
|
-
<div><ul class="simple">
|
769
|
-
<li><a class="reference internal" href="../spec/query_syntax.html"><em>Query syntax</em></a></li>
|
770
|
-
<li><a class="reference internal" href="../spec/script_syntax.html"><em>Script Syntax</em></a></li>
|
771
|
-
</ul>
|
772
|
-
</div></blockquote>
|
773
|
-
</div>
|
774
|
-
</div>
|
775
|
-
|
776
|
-
|
777
|
-
</div>
|
778
|
-
</div>
|
779
|
-
</div>
|
780
|
-
<div class="sphinxsidebar">
|
781
|
-
<div class="sphinxsidebarwrapper">
|
782
|
-
<h3><a href="../index.html">Table Of Contents</a></h3>
|
783
|
-
<ul>
|
784
|
-
<li><a class="reference internal" href="#">7.3.17. select</a><ul>
|
785
|
-
<li><a class="reference internal" href="#summary">7.3.17.1. Summary</a></li>
|
786
|
-
<li><a class="reference internal" href="#syntax">7.3.17.2. Syntax</a></li>
|
787
|
-
<li><a class="reference internal" href="#usage">7.3.17.3. Usage</a><ul>
|
788
|
-
<li><a class="reference internal" href="#simple-usage">7.3.17.3.1. Simple usage</a></li>
|
789
|
-
<li><a class="reference internal" href="#search-conditions">7.3.17.3.2. Search conditions</a><ul>
|
790
|
-
<li><a class="reference internal" href="#search-condition-query">7.3.17.3.2.1. Search condition: <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
791
|
-
<li><a class="reference internal" href="#search-condition-filter">7.3.17.3.2.2. Search condition: <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
792
|
-
</ul>
|
793
|
-
</li>
|
794
|
-
<li><a class="reference internal" href="#paging">7.3.17.3.3. Paging</a></li>
|
795
|
-
<li><a class="reference internal" href="#the-total-number-of-records">7.3.17.3.4. The total number of records</a></li>
|
796
|
-
</ul>
|
797
|
-
</li>
|
798
|
-
<li><a class="reference internal" href="#parameters">7.3.17.4. Parameters</a><ul>
|
799
|
-
<li><a class="reference internal" href="#required-parameter">7.3.17.4.1. Required parameter</a><ul>
|
800
|
-
<li><a class="reference internal" href="#table">7.3.17.4.1.1. <tt class="docutils literal"><span class="pre">table</span></tt></a></li>
|
801
|
-
</ul>
|
802
|
-
</li>
|
803
|
-
<li><a class="reference internal" href="#search-related-parameters">7.3.17.4.2. Search related parameters</a><ul>
|
804
|
-
<li><a class="reference internal" href="#match-columns">7.3.17.4.2.1. <tt class="docutils literal"><span class="pre">match_columns</span></tt></a></li>
|
805
|
-
<li><a class="reference internal" href="#query">7.3.17.4.2.2. <tt class="docutils literal"><span class="pre">query</span></tt></a></li>
|
806
|
-
<li><a class="reference internal" href="#filter">7.3.17.4.2.3. <tt class="docutils literal"><span class="pre">filter</span></tt></a></li>
|
807
|
-
</ul>
|
808
|
-
</li>
|
809
|
-
<li><a class="reference internal" href="#advanced-search-parameters">7.3.17.4.3. Advanced search parameters</a><ul>
|
810
|
-
<li><a class="reference internal" href="#match-escalation-threshold">7.3.17.4.3.1. <tt class="docutils literal"><span class="pre">match_escalation_threshold</span></tt></a></li>
|
811
|
-
<li><a class="reference internal" href="#query-expansion">7.3.17.4.3.2. <tt class="docutils literal"><span class="pre">query_expansion</span></tt></a></li>
|
812
|
-
</ul>
|
813
|
-
</li>
|
814
|
-
<li><a class="reference internal" href="#output-related-parameters">7.3.17.4.4. Output related parameters</a><ul>
|
815
|
-
<li><a class="reference internal" href="#output-columns">7.3.17.4.4.1. <tt class="docutils literal"><span class="pre">output_columns</span></tt></a></li>
|
816
|
-
<li><a class="reference internal" href="#sortby">7.3.17.4.4.2. <tt class="docutils literal"><span class="pre">sortby</span></tt></a></li>
|
817
|
-
<li><a class="reference internal" href="#offset">7.3.17.4.4.3. <tt class="docutils literal"><span class="pre">offset</span></tt></a></li>
|
818
|
-
<li><a class="reference internal" href="#limit">7.3.17.4.4.4. <tt class="docutils literal"><span class="pre">limit</span></tt></a></li>
|
819
|
-
<li><a class="reference internal" href="#scorer">7.3.17.4.4.5. <tt class="docutils literal"><span class="pre">scorer</span></tt></a></li>
|
820
|
-
</ul>
|
821
|
-
</li>
|
822
|
-
<li><a class="reference internal" href="#facet-related-parameters">7.3.17.4.5. Facet related parameters</a><ul>
|
823
|
-
<li><a class="reference internal" href="#drilldown">7.3.17.4.5.1. <tt class="docutils literal"><span class="pre">drilldown</span></tt></a></li>
|
824
|
-
<li><a class="reference internal" href="#drilldown-sortby">7.3.17.4.5.2. <tt class="docutils literal"><span class="pre">drilldown_sortby</span></tt></a></li>
|
825
|
-
<li><a class="reference internal" href="#drilldown-output-columns">7.3.17.4.5.3. <tt class="docutils literal"><span class="pre">drilldown_output_columns</span></tt></a></li>
|
826
|
-
<li><a class="reference internal" href="#drilldown-offset">7.3.17.4.5.4. <tt class="docutils literal"><span class="pre">drilldown_offset</span></tt></a></li>
|
827
|
-
<li><a class="reference internal" href="#drilldown-limit">7.3.17.4.5.5. <tt class="docutils literal"><span class="pre">drilldown_limit</span></tt></a></li>
|
828
|
-
</ul>
|
829
|
-
</li>
|
830
|
-
<li><a class="reference internal" href="#cache-related-parameter">7.3.17.4.6. Cache related parameter</a><ul>
|
831
|
-
<li><a class="reference internal" href="#cache">7.3.17.4.6.1. <tt class="docutils literal"><span class="pre">cache</span></tt></a></li>
|
832
|
-
</ul>
|
833
|
-
</li>
|
834
|
-
</ul>
|
835
|
-
</li>
|
836
|
-
<li><a class="reference internal" href="#id1">7.3.17.5. 返値</a></li>
|
837
|
-
<li><a class="reference internal" href="#see-also">7.3.17.6. See also</a></li>
|
838
|
-
</ul>
|
839
|
-
</li>
|
840
|
-
</ul>
|
841
|
-
|
842
|
-
<h4>Previous topic</h4>
|
843
|
-
<p class="topless"><a href="quit.html"
|
844
|
-
title="previous chapter">7.3.16. quit</a></p>
|
845
|
-
<h4>Next topic</h4>
|
846
|
-
<p class="topless"><a href="shutdown.html"
|
847
|
-
title="next chapter">7.3.18. shutdown</a></p>
|
848
|
-
<h3>This Page</h3>
|
849
|
-
<ul class="this-page-menu">
|
850
|
-
<li><a href="../_sources/commands/select.txt"
|
851
|
-
rel="nofollow">Show Source</a></li>
|
852
|
-
</ul>
|
853
|
-
<div id="searchbox" style="display: none">
|
854
|
-
<h3>Quick search</h3>
|
855
|
-
<form class="search" action="../search.html" method="get">
|
856
|
-
<input type="text" name="q" />
|
857
|
-
<input type="submit" value="Go" />
|
858
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
859
|
-
<input type="hidden" name="area" value="default" />
|
860
|
-
</form>
|
861
|
-
<p class="searchtip" style="font-size: 90%">
|
862
|
-
Enter search terms or a module, class or function name.
|
863
|
-
</p>
|
864
|
-
</div>
|
865
|
-
<script type="text/javascript">$('#searchbox').show(0);</script>
|
866
|
-
</div>
|
867
|
-
</div>
|
868
|
-
<div class="clearer"></div>
|
869
|
-
</div>
|
870
|
-
<div class="related">
|
871
|
-
<h3>Navigation</h3>
|
872
|
-
<ul>
|
873
|
-
<li class="right" style="margin-right: 10px">
|
874
|
-
<a href="../genindex.html" title="General Index"
|
875
|
-
>index</a></li>
|
876
|
-
<li class="right" >
|
877
|
-
<a href="shutdown.html" title="7.3.18. shutdown"
|
878
|
-
>next</a> |</li>
|
879
|
-
<li class="right" >
|
880
|
-
<a href="quit.html" title="7.3.16. quit"
|
881
|
-
>previous</a> |</li>
|
882
|
-
<li><a href="../index.html">groonga v2.0.2 documentation</a> »</li>
|
883
|
-
<li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li>
|
884
|
-
<li><a href="../commands.html" >7.3. コマンド</a> »</li>
|
885
|
-
</ul>
|
886
|
-
</div>
|
887
|
-
<div class="footer">
|
888
|
-
© Copyright 2009-2012, Brazil, Inc.
|
889
|
-
</div>
|
890
|
-
</body>
|
891
|
-
</html>
|