rroonga 4.0.3-x86-mingw32 → 4.0.4-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Gemfile +1 -1
- data/README.textile +1 -1
- data/Rakefile +8 -1
- data/bin/grndump +1 -1
- data/bin/grntest-log-analyze +1 -1
- data/bin/groonga-database-inspect +1 -1
- data/bin/groonga-index-dump +1 -1
- data/doc/text/news.textile +28 -0
- data/ext/groonga/extconf.rb +12 -2
- data/ext/groonga/rb-grn-accessor.c +2 -1
- data/ext/groonga/rb-grn-array-cursor.c +1 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-context.c +7 -5
- data/ext/groonga/rb-grn-database.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-encoding-support.c +1 -1
- data/ext/groonga/rb-grn-encoding.c +1 -1
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression-builder.c +1 -1
- data/ext/groonga/rb-grn-expression.c +1 -1
- data/ext/groonga/rb-grn-fix-size-column.c +1 -1
- data/ext/groonga/rb-grn-geo-point.c +1 -1
- data/ext/groonga/rb-grn-hash-cursor.c +1 -1
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-index-cursor.c +1 -1
- data/ext/groonga/rb-grn-logger.c +1 -1
- data/ext/groonga/rb-grn-normalizer.c +1 -1
- data/ext/groonga/rb-grn-object.c +71 -45
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-posting.c +1 -1
- data/ext/groonga/rb-grn-procedure-type.c +40 -0
- data/ext/groonga/rb-grn-procedure.c +17 -4
- data/ext/groonga/rb-grn-query-logger.c +1 -1
- data/ext/groonga/rb-grn-record.c +1 -1
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +1 -1
- data/ext/groonga/rb-grn-table.c +3 -2
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +1 -1
- data/ext/groonga/rb-grn-variable-size-column.c +55 -27
- data/ext/groonga/rb-grn-variable.c +1 -1
- data/ext/groonga/rb-grn.h +4 -2
- data/ext/groonga/rb-groonga.c +3 -2
- data/extconf.rb +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga.rb +1 -1
- data/lib/groonga/column.rb +1 -1
- data/lib/groonga/context.rb +1 -1
- data/lib/groonga/context/command-executor.rb +1 -1
- data/lib/groonga/database-inspector.rb +1 -1
- data/lib/groonga/database.rb +1 -1
- data/lib/groonga/dumper.rb +1 -1
- data/lib/groonga/expression-builder-19.rb +1 -1
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/geo-point.rb +1 -1
- data/lib/groonga/grntest-log.rb +1 -1
- data/lib/groonga/index-column.rb +1 -1
- data/lib/groonga/logger.rb +1 -1
- data/lib/groonga/memory-pool.rb +1 -2
- data/lib/groonga/pagination.rb +1 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/posting.rb +1 -1
- data/lib/groonga/query-logger.rb +1 -1
- data/lib/groonga/record.rb +6 -2
- data/lib/groonga/schema.rb +1 -1
- data/lib/groonga/statistic-measurer.rb +1 -1
- data/lib/groonga/sub-records.rb +1 -1
- data/lib/groonga/table.rb +1 -1
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +4 -4
- data/rroonga.gemspec +3 -3
- data/test/groonga-test-utils.rb +4 -4
- data/test/run-test.rb +1 -1
- data/test/test-accessor.rb +1 -1
- data/test/test-array.rb +1 -1
- data/test/test-column.rb +1 -1
- data/test/test-command-select.rb +1 -1
- data/test/test-context.rb +21 -16
- data/test/test-convert.rb +1 -1
- data/test/test-database-dumper.rb +1 -1
- data/test/test-database-inspector.rb +1 -1
- data/test/test-database.rb +38 -25
- data/test/test-double-array-trie.rb +1 -1
- data/test/test-encoding.rb +1 -1
- data/test/test-exception.rb +12 -7
- data/test/test-expression-builder.rb +1 -1
- data/test/test-expression.rb +1 -1
- data/test/test-fix-size-column.rb +1 -1
- data/test/test-geo-point.rb +1 -1
- data/test/test-gqtp.rb +1 -1
- data/test/test-hash.rb +1 -1
- data/test/test-index-column.rb +1 -1
- data/test/test-index-cursor.rb +1 -1
- data/test/test-lock-timeout.rb +1 -1
- data/test/test-logger.rb +1 -1
- data/test/test-memory-pool.rb +1 -1
- data/test/test-normalizer.rb +1 -1
- data/test/test-pagination.rb +1 -1
- data/test/test-patricia-trie.rb +1 -1
- data/test/test-plugin.rb +1 -1
- data/test/test-procedure.rb +9 -2
- data/test/test-record.rb +1 -1
- data/test/test-remote.rb +1 -1
- data/test/test-schema-create-table.rb +1 -1
- data/test/test-schema-dumper.rb +1 -1
- data/test/test-schema-type.rb +1 -1
- data/test/test-schema.rb +1 -1
- data/test/test-snippet.rb +1 -1
- data/test/test-statistic-measurer.rb +1 -1
- data/test/test-sub-records.rb +1 -1
- data/test/test-table-dumper.rb +1 -1
- data/test/test-table-key-support.rb +1 -1
- data/test/test-table-offset-and-limit.rb +1 -1
- data/test/test-table-select-mecab.rb +1 -1
- data/test/test-table-select-normalize.rb +1 -1
- data/test/test-table-select-weight.rb +1 -1
- data/test/test-table-select.rb +1 -1
- data/test/test-table-traverse.rb +1 -1
- data/test/test-table.rb +1 -1
- data/test/test-type.rb +1 -1
- data/test/test-variable-size-column.rb +136 -67
- data/test/test-variable.rb +1 -1
- data/test/test-vector-column.rb +1 -1
- data/test/test-version.rb +1 -1
- 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/libwinpthread-1.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +38 -5
- data/vendor/local/include/groonga/groonga/plugin.h +11 -83
- data/vendor/local/include/groonga/groonga/tokenizer.h +10 -5
- data/vendor/local/include/msgpack.h +1 -0
- data/vendor/local/include/msgpack/fbuffer.h +47 -0
- data/vendor/local/include/msgpack/fbuffer.hpp +56 -0
- data/vendor/local/include/msgpack/object.hpp +12 -3
- data/vendor/local/include/msgpack/pack.h +7 -3
- data/vendor/local/include/msgpack/pack.hpp +26 -7
- data/vendor/local/include/msgpack/pack_template.h +34 -7
- data/vendor/local/include/msgpack/sbuffer.h +3 -2
- data/vendor/local/include/msgpack/sbuffer.hpp +1 -1
- data/vendor/local/include/msgpack/sysdep.h +27 -14
- data/vendor/local/include/msgpack/type.hpp +2 -1
- data/vendor/local/include/msgpack/type/define.hpp +747 -561
- data/vendor/local/include/msgpack/type/float.hpp +24 -4
- data/vendor/local/include/msgpack/type/int.hpp +78 -13
- data/vendor/local/include/msgpack/type/tr1/unordered_map.hpp +31 -10
- data/vendor/local/include/msgpack/type/tr1/unordered_set.hpp +30 -10
- data/vendor/local/include/msgpack/unpack.h +9 -9
- data/vendor/local/include/msgpack/unpack_define.h +16 -14
- data/vendor/local/include/msgpack/unpack_template.h +19 -8
- data/vendor/local/include/msgpack/version.h +1 -1
- data/vendor/local/include/msgpack/vrefbuffer.h +10 -9
- data/vendor/local/include/msgpack/vrefbuffer.hpp +4 -2
- data/vendor/local/include/msgpack/zbuffer.h +3 -2
- data/vendor/local/include/msgpack/zbuffer.hpp +4 -2
- data/vendor/local/include/msgpack/zone.h +5 -4
- data/vendor/local/include/msgpack/zone.hpp +10 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +1 -1
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +2 -2
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +1 -1
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +1 -1
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/lib/pkgconfig/msgpack.pc +10 -0
- 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 +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +2 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +9 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +13 -15
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +149 -1194
- data/vendor/local/share/doc/groonga/en/html/_sources/news/1.3.x.txt +49 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/2.x.txt +617 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/news/3.x.txt +536 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +122 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +0 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/check.txt +50 -55
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/clearlock.txt +25 -31
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_remove.txt +26 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/define_selector.txt +20 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/defrag.txt +26 -29
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/dump.txt +28 -28
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_level.txt +20 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_put.txt +20 -26
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/log_reopen.txt +29 -34
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/quit.txt +20 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/register.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +19 -20
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +19 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +78 -87
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_list.txt +20 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +19 -24
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +27 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_full.txt +132 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +100 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +6 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +3 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/index.txt +28 -25
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/match_columns.txt +26 -21
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/patricia_trie.txt +17 -12
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/search.txt +44 -42
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -18
- data/vendor/local/share/doc/groonga/en/html/_static/groonga.css +2 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/genindex.html +136 -26
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/index.html +56 -56
- data/vendor/local/share/doc/groonga/en/html/install.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -50
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +59 -35
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +40 -44
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/install/others.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +26 -28
- data/vendor/local/share/doc/groonga/en/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news.html +320 -1367
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +160 -0
- data/vendor/local/share/doc/groonga/en/html/news/2.x.html +804 -0
- data/vendor/local/share/doc/groonga/en/html/news/3.x.html +727 -0
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +41 -41
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +23 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +28 -30
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +30 -32
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +35 -37
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +25 -27
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +226 -24
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +17 -20
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +33 -35
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +73 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +50 -62
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +53 -65
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +45 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +49 -59
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +47 -51
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +44 -56
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +45 -57
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +54 -63
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +42 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +41 -46
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +52 -64
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +201 -213
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +74 -81
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +42 -54
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +174 -20
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +31 -24
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +38 -27
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +19 -21
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +311 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +278 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +42 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +37 -39
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +53 -55
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +40 -42
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/server/package.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +32 -34
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +28 -29
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +52 -52
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +21 -23
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +57 -56
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +22 -24
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -22
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +46 -44
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +17 -19
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +71 -69
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +2 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +9 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +13 -15
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +149 -1194
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/1.3.x.txt +49 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/2.x.txt +617 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/news/3.x.txt +536 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +122 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +0 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/check.txt +50 -55
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/clearlock.txt +25 -31
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_remove.txt +26 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/define_selector.txt +20 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/defrag.txt +26 -29
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/dump.txt +28 -28
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_level.txt +20 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_put.txt +20 -26
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/log_reopen.txt +29 -34
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/quit.txt +20 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/register.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +19 -20
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +19 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +78 -87
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_list.txt +20 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +19 -24
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +27 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-benchmark.txt +17 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +17 -8
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_full.txt +132 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +100 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/server/http/comparison.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +6 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +3 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/index.txt +28 -25
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/match_columns.txt +26 -21
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/patricia_trie.txt +17 -12
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/search.txt +44 -42
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -18
- data/vendor/local/share/doc/groonga/ja/html/_static/groonga.css +2 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/community.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/development.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +136 -26
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/index.html +53 -53
- data/vendor/local/share/doc/groonga/ja/html/install.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -50
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +62 -36
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +34 -36
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +26 -28
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news.html +354 -1643
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +180 -0
- data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +950 -0
- data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +831 -0
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +41 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +23 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +28 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +30 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +40 -42
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +35 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +226 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +73 -85
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +50 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +42 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +53 -65
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +27 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +45 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +49 -59
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +47 -51
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +44 -56
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +45 -57
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +54 -63
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +27 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +42 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +41 -46
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +52 -64
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +195 -207
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +74 -81
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +42 -54
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +172 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +26 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +31 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +38 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +18 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +22 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +294 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +266 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +42 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +37 -39
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -62
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +39 -41
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/search.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +18 -20
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +29 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +24 -26
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +28 -31
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +33 -35
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +20 -22
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +43 -43
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +19 -21
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +21 -23
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +39 -38
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +17 -19
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +68 -64
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +2 -2
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/html/index.html +2 -2
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.7.2.min.js +4 -0
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.18.custom.min.js +356 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/groonga/html/admin/css/groonga-admin.css +11 -0
- data/vendor/local/share/groonga/html/admin/index.html +75 -75
- data/vendor/local/share/groonga/html/admin/index.ja.html +301 -0
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.ja.js +1372 -0
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +28 -28
- data/vendor/local/share/license/groonga/README.md +49 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +1934 -1247
- data/vendor/local/share/man/man1/groonga.1 +2008 -1240
- metadata +111 -83
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-1.6.0.min.js +0 -16
- data/vendor/local/share/groonga/examples/dictionary/html/js/jquery-ui-1.8.12.min.js +0 -406
- data/vendor/local/share/license/groonga/AUTHORS +0 -17
@@ -11,7 +11,7 @@
|
|
11
11
|
Drilldown
|
12
12
|
=========
|
13
13
|
|
14
|
-
You learned how to
|
14
|
+
You learned how to search and sort searched results in the previous sections.
|
15
15
|
Now that you can search as you likes, but how do you summarize the number of records which has specific value in the column?
|
16
16
|
|
17
17
|
As you know, there is a naive solution to execute query by every the value of column, then you can get the number of records as a result. It is a simple way, but it is not reasonable to many records.
|
@@ -126,4 +126,5 @@ The number of drilldown results is limited to 10 as a default. Use ``drilldown_l
|
|
126
126
|
.. include:: ../example/tutorial/drilldown-limit.log
|
127
127
|
.. select --table Site --limit 0 --drilldown country --drilldown_sortby _nsubrecs --drilldown_limit 2 --drilldown_offset 2
|
128
128
|
|
129
|
-
|
129
|
+
Note that drilldown to the column which stores string is slower than the columns which stores the other types.
|
130
|
+
If you drilldown to string type of column, create the table that type of primary key is string, then create the column which refers that table.
|
@@ -7,22 +7,24 @@
|
|
7
7
|
.. groonga-command
|
8
8
|
.. database: tutorial
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
Tag search and reverse resolution of reference relationships
|
11
|
+
============================================================
|
12
12
|
|
13
|
-
|
13
|
+
As you know, Groonga supports to store array in column which refers other table.
|
14
|
+
In fact, you can do tag search by using array data which refers other table.
|
14
15
|
|
15
|
-
|
16
|
+
Tag search is very fast because Groonga use inverted index as data structure.
|
16
17
|
|
17
|
-
|
18
|
-
|
18
|
+
Tag search
|
19
|
+
----------
|
19
20
|
|
20
|
-
|
21
|
+
Let's consider to create a search engine for an web site to share movies. Each movie may be associated with multiple keywords which represents the content of movie.
|
21
22
|
|
22
|
-
|
23
|
+
Let's create tables for movie information, then search the movies.
|
23
24
|
|
24
|
-
|
25
|
-
|
25
|
+
First, create the ``Video`` table which stores movie information. the ``Video`` table has two columns. the ``title`` column stores title of the movie. the ``tags`` column stores multiple tag information in reference Tag table.
|
26
|
+
|
27
|
+
Next, create the ``Tag`` table which stores tag information. the ``Tag`` table has one column. The tag string is stored as primary key, then ``index_tags`` stores indexes for tags column of Video table.
|
26
28
|
|
27
29
|
.. groonga-command
|
28
30
|
.. include:: ../example/tutorial/index-1.log
|
@@ -43,9 +45,9 @@
|
|
43
45
|
.. {"_key":8,"title":"K.O.","tags":["Animation","Music"]}
|
44
46
|
.. ]
|
45
47
|
|
46
|
-
|
48
|
+
After creating indexed column, you can do full-text search very fast. The indexed column is also automatically updated when stored data is refreshed.
|
47
49
|
|
48
|
-
|
50
|
+
List up the movies that specific keywords are given.
|
49
51
|
|
50
52
|
.. groonga-command
|
51
53
|
.. include:: ../example/tutorial/index-2.log
|
@@ -53,16 +55,16 @@
|
|
53
55
|
.. select --table Video --query tags:@Sports --output_columns _key,title
|
54
56
|
.. select --table Video --query tags:@Animation --output_columns _key,title
|
55
57
|
|
56
|
-
|
58
|
+
You can search by tags such as "Variety", "Sports" and "Animation".
|
57
59
|
|
58
|
-
|
59
|
-
|
60
|
+
Reverse resolution of reference relationships
|
61
|
+
---------------------------------------------
|
60
62
|
|
61
|
-
Groonga
|
63
|
+
Groonga supports indexes for reverse resolution among tables. Tag search is one of concrete examples.
|
62
64
|
|
63
|
-
|
65
|
+
For example, you can search friendships by reverse resolution in social networking site.
|
64
66
|
|
65
|
-
|
67
|
+
Following example shows how to create ``User`` table which stores user information, ``username`` column which stores user name, ``friends`` column which stores list of user's friends in array, ``index_friends`` column as indexed column.
|
66
68
|
|
67
69
|
.. groonga-command
|
68
70
|
.. include:: ../example/tutorial/index-3.log
|
@@ -80,25 +82,26 @@ Groongaはテーブル間の参照関係の逆引きを高速に行うための
|
|
80
82
|
.. {"_key":"hana","username":"花子","friends":["ken","taro","jiro","moritapo","tomo"]}
|
81
83
|
.. ]
|
82
84
|
|
83
|
-
|
85
|
+
Let's show list of users who contains specified user in friend list.
|
84
86
|
|
85
87
|
.. groonga-command
|
86
88
|
.. include:: ../example/tutorial/index-4.log
|
87
89
|
.. select --table User --query friends:@tomo --output_columns _key,username
|
88
90
|
.. select --table User --query friends:@jiro --output_columns _key,username
|
89
91
|
|
90
|
-
|
92
|
+
Then drilldown the count which shows user is listed as friend.
|
91
93
|
|
92
94
|
.. groonga-command
|
93
95
|
.. include:: ../example/tutorial/index-5.log
|
94
96
|
.. select --table User --limit 0 --drilldown friends
|
95
97
|
|
96
|
-
|
98
|
+
As you can see, it shows the results which follows reverse resolution of reference relationship.
|
97
99
|
|
98
|
-
|
99
|
-
|
100
|
+
Geo location search with index
|
101
|
+
------------------------------
|
100
102
|
|
101
|
-
|
103
|
+
Groonga supports to add indexes to the column which stores geo location information.
|
104
|
+
Groonga is very fast because it use such indexes against the column which contains geo location information to search enormous number of records.
|
102
105
|
|
103
106
|
.. groonga-command
|
104
107
|
.. include:: ../example/tutorial/index-6.log
|
@@ -111,7 +114,7 @@ Groongaはテーブル間の参照関係の逆引きを高速に行うための
|
|
111
114
|
.. ]
|
112
115
|
.. select --table Site --filter 'geo_in_circle(location, "128515259x503187188", 5000)' --output_columns _key,location
|
113
116
|
|
114
|
-
|
117
|
+
These indexes are also used when sorting the records with geo location search.
|
115
118
|
|
116
119
|
.. groonga-command
|
117
120
|
.. include:: ../example/tutorial/index-7.log
|
@@ -5,21 +5,24 @@
|
|
5
5
|
.. groonga-command
|
6
6
|
.. database: tutorial-match-columns
|
7
7
|
|
8
|
-
match_columns
|
8
|
+
match_columns parameter
|
9
9
|
=======================
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
Full-text search against multiple columns
|
12
|
+
-----------------------------------------
|
13
13
|
|
14
|
-
Groonga
|
14
|
+
Groonga supports full-text search against multiple columns. Let's consider blog site. Usually, blog site has a table which contains title column and content column. How do you search the blog entry which contains specified keywords in title or content?
|
15
15
|
|
16
|
-
|
16
|
+
In such a case, there are two ways to create indexes. One way is creating column index against each column. The other way is creating one column index against multiple columns. Either way, Groonga supports similar full-text search syntax.
|
17
17
|
|
18
|
-
|
19
|
-
|
18
|
+
Creating column index against each column
|
19
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
Here is the example which create column index against each column.
|
22
|
+
|
23
|
+
First, create ``Blog1`` table, add ``title`` column which stores title string, ``message`` column which stores content of blog entry.
|
24
|
+
|
25
|
+
Then create ``IndexBlog1`` table for column indexes, add ``index_title`` column for ``title`` column, ``index_message`` column for ``message`` column.
|
23
26
|
|
24
27
|
.. groonga-command
|
25
28
|
.. include:: ../example/tutorial/match_columns-1.log
|
@@ -36,9 +39,10 @@ Blog1テーブルを作り、タイトル文字列のtitleカラム、本文のm
|
|
36
39
|
.. {"_key":"grn3","title":"groonga message","message":"none"}
|
37
40
|
.. ]
|
38
41
|
|
39
|
-
match_columns
|
42
|
+
``match_columns`` option of ``select`` command accepts multiple columns as search target.
|
43
|
+
Specify query string to ``query`` option. Then you can do full-text search title and content of blog entries.
|
40
44
|
|
41
|
-
|
45
|
+
Let's try to search blog entries.
|
42
46
|
|
43
47
|
.. groonga-command
|
44
48
|
.. include:: ../example/tutorial/match_columns-2.log
|
@@ -46,13 +50,14 @@ match_columnsオプションで、検索対象のカラムを複数指定する
|
|
46
50
|
.. select --table Blog1 --match_columns title||message --query message
|
47
51
|
.. select --table Blog1 --match_columns title --query message
|
48
52
|
|
49
|
-
|
53
|
+
Creating one column index against multiple columns
|
50
54
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
51
55
|
|
52
|
-
|
56
|
+
Groonga also supports one column index against multiple columns.
|
53
57
|
|
54
|
-
|
58
|
+
The difference for previous example is only one column index exists. Thus, There is one common column index against title and message column.
|
55
59
|
|
60
|
+
Even though same column index is used, Groonga supports to search against title column only, message column only and title or message column.
|
56
61
|
|
57
62
|
.. groonga-command
|
58
63
|
.. include:: ../example/tutorial/match_columns-3.log
|
@@ -68,7 +73,7 @@ match_columnsオプションで、検索対象のカラムを複数指定する
|
|
68
73
|
.. {"_key":"grn3","title":"groonga message","message":"none"}
|
69
74
|
.. ]
|
70
75
|
|
71
|
-
|
76
|
+
Let's search same query in previous section. You can get same search results.
|
72
77
|
|
73
78
|
.. groonga-command
|
74
79
|
.. include:: ../example/tutorial/match_columns-4.log
|
@@ -85,10 +90,10 @@ match_columnsオプションで、検索対象のカラムを複数指定する
|
|
85
90
|
* Indexes for multiple column - It saves disk usage because it shares common buffer. On the other hand, the update performance is not so good.
|
86
91
|
|
87
92
|
|
88
|
-
|
89
|
-
|
93
|
+
Full text search with specific index name
|
94
|
+
-----------------------------------------
|
90
95
|
|
91
|
-
|
96
|
+
TODO
|
92
97
|
|
93
98
|
.. TODO: match_columnsにインデックス名を指定しての検索についても触れる。
|
94
99
|
|
@@ -221,9 +226,9 @@ As a result, the first query matches two article because of Comments2 table has
|
|
221
226
|
|
222
227
|
On the other hand, the second one matches one article only because of Replies2 table has only one record which contains 'mroonga' as keyword, and there is one record which contains same keyword and refers to the record in Comments2 table.
|
223
228
|
|
224
|
-
|
225
|
-
|
229
|
+
Indexes with Weight
|
230
|
+
-------------------
|
226
231
|
|
227
|
-
|
232
|
+
TODO
|
228
233
|
|
229
234
|
.. TODO: match_columnsの重み指定機能についても触れる。
|
@@ -24,7 +24,7 @@ Form::
|
|
24
24
|
|
25
25
|
groonga [-p PORT_NUMBER] -s DB_PATH
|
26
26
|
|
27
|
-
The `-s` option specifies to run Groonga as a server. DB_PATH specifies the path of the existing database to be hosted. The `-p` option and its argument, PORT_NUMBER, specify the port number of the server. The default port number is
|
27
|
+
The `-s` option specifies to run Groonga as a server. DB_PATH specifies the path of the existing database to be hosted. The `-p` option and its argument, PORT_NUMBER, specify the port number of the server. The default port number is 10043, which is used when you don't specify PORT_NUMBER.
|
28
28
|
|
29
29
|
The following command runs a server that listens on the default port number. The server accepts operations to the specified database.
|
30
30
|
|
@@ -60,7 +60,7 @@ Form::
|
|
60
60
|
|
61
61
|
groonga [-p PORT_NUMBER] -c [HOST_NAME_OR_IP_ADDRESS]
|
62
62
|
|
63
|
-
This command establishes a connection with a GQTP server and then enters into interactive mode. HOST_NAME_OR_IP_ADDRESS specifies the hostname or the IP address of the server. If not specified, Groonga uses the default hostname "localhost". The `-p` option and its argument, PORT_NUMBER, specify the port number of the server. If not specified, Groonga uses the default port number
|
63
|
+
This command establishes a connection with a GQTP server and then enters into interactive mode. HOST_NAME_OR_IP_ADDRESS specifies the hostname or the IP address of the server. If not specified, Groonga uses the default hostname "localhost". The `-p` option and its argument, PORT_NUMBER, specify the port number of the server. If not specified, Groonga uses the default port number 10043.
|
64
64
|
|
65
65
|
.. groonga-command
|
66
66
|
.. include:: ../example/tutorial/network-1.log
|
@@ -105,7 +105,7 @@ Form::
|
|
105
105
|
|
106
106
|
groonga [-p PORT_NUMBER] -d --protocol http DB_PATH
|
107
107
|
|
108
|
-
The `--protocol` option and its argument specify the protocol of the server. "http" specifies to use HTTP.
|
108
|
+
The `--protocol` option and its argument specify the protocol of the server. "http" specifies to use HTTP. If the `-p` option is not specified, Groonga uses the default port number 10041.
|
109
109
|
|
110
110
|
The following command runs an HTTP server that listens on the port number 80.
|
111
111
|
|
@@ -5,28 +5,33 @@
|
|
5
5
|
.. groonga-command
|
6
6
|
.. database: tutorial-patricia-trie
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
Prefix search with patricia trie
|
9
|
+
================================
|
10
10
|
|
11
|
-
Groonga
|
11
|
+
Groonga supports to create a table with patricia trie option.
|
12
|
+
By specifying it, You can do prefix search.
|
12
13
|
|
13
|
-
|
14
|
-
|
14
|
+
And more, you can do suffix search against primary key by specifying additional option.
|
15
|
+
|
16
|
+
Prefix search by primary key
|
17
|
+
----------------------------
|
15
18
|
|
16
|
-
table_create
|
19
|
+
table_create command which uses TABLE_PAT_KEY for flags option supports prefix search by primary key.
|
17
20
|
|
18
21
|
.. groonga-command
|
19
|
-
.. include:: ../example/tutorial/
|
22
|
+
.. include:: ../example/tutorial/patricia_trie_prefix_search.log
|
20
23
|
..
|
21
24
|
.. table_create --name PatPrefix --flags TABLE_PAT_KEY --key_type ShortText
|
22
25
|
.. load --table PatPrefix
|
23
26
|
.. [
|
24
|
-
.. {"_key":"
|
25
|
-
.. {"_key":"
|
26
|
-
.. {"_key":"
|
27
|
-
.. {"_key":"
|
27
|
+
.. {"_key":"James"}
|
28
|
+
.. {"_key":"Jason"}
|
29
|
+
.. {"_key":"Jennifer"},
|
30
|
+
.. {"_key":"Jeff"},
|
31
|
+
.. {"_key":"John"},
|
32
|
+
.. {"_key":"Joseph"},
|
28
33
|
.. ]
|
29
|
-
.. select --table PatPrefix --query _key
|
34
|
+
.. select --table PatPrefix --query _key:^Je
|
30
35
|
|
31
36
|
主キーによる後方一致検索
|
32
37
|
------------------------
|
@@ -7,80 +7,82 @@
|
|
7
7
|
.. groonga-command
|
8
8
|
.. database: tutorial
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
Various search conditions
|
11
|
+
=========================
|
12
12
|
|
13
|
-
Groonga
|
13
|
+
Groonga supports to narrow down by using syntax like JavaScript, sort by the calculated value. Additionally, Groonga also supports to narrow down & sort search results by using location information (latitude & longitude).
|
14
14
|
|
15
|
-
JavaScript
|
16
|
-
|
15
|
+
Narrow down & Full-text search by using syntax like JavaScript
|
16
|
+
--------------------------------------------------------------
|
17
17
|
|
18
|
-
select
|
18
|
+
The ``filter`` parameter of ``select`` command accepts the search condition.
|
19
|
+
There is one difference between ``filter`` parameter and ``query`` parameter, you need to specify the condition by syntax like JavaScript for ``filter`` parameter.
|
19
20
|
|
20
21
|
.. groonga-command
|
21
22
|
.. include:: ../example/tutorial/search-1.log
|
22
23
|
.. select --table Site --filter "_id <= 1" --output_columns _id,_key
|
23
24
|
|
24
|
-
|
25
|
+
See the detail of above query. Here is the condition which is specified as ``filter`` parameter::
|
25
26
|
|
26
27
|
_id <= 1
|
27
28
|
|
28
|
-
|
29
|
+
In this case, this query returns the records which meets the condition that the value of ``_id`` is equal to 1.
|
29
30
|
|
30
|
-
|
31
|
+
Moreover, you can use ``&&`` for AND search, ``||`` for OR search.
|
31
32
|
|
32
33
|
.. groonga-command
|
33
34
|
.. include:: ../example/tutorial/search-2.log
|
34
35
|
.. select --table Site --filter "_id >= 4 && _id <= 6" --output_columns _id,_key
|
35
36
|
.. select --table Site --filter "_id <= 2 || _id >= 7" --output_columns _id,_key
|
36
37
|
|
37
|
-
query
|
38
|
+
If you specify ``query`` parameter and ``filter`` parameter at the same time, you can get the records which meets both of the condition as a result.
|
38
39
|
|
39
|
-
scorer
|
40
|
-
|
40
|
+
Sort by using ``scorer``
|
41
|
+
------------------------
|
41
42
|
|
42
|
-
select
|
43
|
-
全文検索を行った結果の各レコードに対して処理を行うためのパラメータです。
|
43
|
+
``select`` command accepts ``scorer`` parameter which is used to process each record of full-text search results.
|
44
44
|
|
45
|
-
filter
|
46
|
-
JavaScriptの式に似たな文法で様々な条件を指定することができます。
|
45
|
+
This parameter accepts the conditions which is specified by syntax like JavaScript as same as ``filter`` parameter.
|
47
46
|
|
48
47
|
.. groonga-command
|
49
48
|
.. include:: ../example/tutorial/search-3.log
|
50
49
|
.. select --table Site --filter "1" --scorer "_score = rand()" --output_columns _id,_key,_score --sortby _score
|
51
50
|
.. select --table Site --filter "1" --scorer "_score = rand()" --output_columns _id,_key,_score --sortby _score
|
52
51
|
|
53
|
-
|
52
|
+
'_score' is one of a pseudo column. The score of full-text search is assigned to it.
|
53
|
+
See :doc:`/reference/columns/pseudo` about '_score' column.
|
54
54
|
|
55
|
-
|
55
|
+
In the above query, the condition of ``scorer`` parameter is::
|
56
56
|
|
57
|
-
|
57
|
+
_score = rand()
|
58
58
|
|
59
|
-
|
59
|
+
In this case, the score of full-text search is overwritten by the value of rand() function.
|
60
60
|
|
61
|
-
sortby
|
61
|
+
The condition of ``sortby`` parameter is::
|
62
62
|
|
63
|
-
|
63
|
+
_score
|
64
64
|
|
65
|
-
|
65
|
+
This means that sorting the search result by ascending order.
|
66
66
|
|
67
|
-
|
67
|
+
As a result, the order of search result is randomized.
|
68
68
|
|
69
|
-
|
70
|
-
|
69
|
+
Narrow down & sort by using location information
|
70
|
+
------------------------------------------------
|
71
71
|
|
72
|
-
Groonga
|
72
|
+
Groonga supports to store location information (Longitude & Latitude) and not only narrow down but also sort by using it.
|
73
73
|
|
74
|
-
|
74
|
+
Groonga supports two kind of column types to store location information. One is ``TokyoGeoPoint``, the other is ``WGS84GeoPoint``. ``TokyoGeoPoint`` is used for Japan geodetic system. ``WGS84GeoPoint`` is used for world geodetic system.
|
75
75
|
|
76
|
-
|
76
|
+
Specify longitude and latitude as follows:
|
77
77
|
|
78
|
-
* "[
|
79
|
-
* "[
|
80
|
-
* "[
|
81
|
-
* "[
|
78
|
+
* "[latitude in milliseconds]x[longitude in milliseconds]"(e.g.: "128452975x503157902")
|
79
|
+
* "[latitude in milliseconds],[longitude in milliseconds]"(e.g.: "128452975,503157902")
|
80
|
+
* "[latitude in degrees]x[longitude in degrees]"(e.g.: "35.6813819x139.7660839")
|
81
|
+
* "[latitude in degrees],[longitude in degrees]"(e.g.: "35.6813819,139.7660839")
|
82
82
|
|
83
|
-
|
83
|
+
Let's store two location information about station in Japan by WGS. One is Tokyo station, the other is Shinjyuku station. Both of them are station in Japan. The latitude of Tokyo station is 35 degrees 40 minutes 52.975 seconds, the longitude of Tokyo station is 139 degrees 45 minutes 57.902 seconds. The latitude of Shinjyuku station is 35 degrees 41 minutes 27.316 seconds, the longitude of Shinjyuku station is 139 degrees 42 minutes 0.929 seconds. Thus, location information in milliseconds are "128452975x503157902" and "128487316x502920929" respectively. location information in degrees are "35.6813819x139.7660839" and "35.6909211x139.7002581" respectively.
|
84
|
+
|
85
|
+
Let's register location information in milliseconds.
|
84
86
|
|
85
87
|
.. groonga-command
|
86
88
|
.. include:: ../example/tutorial/search-4.log
|
@@ -92,30 +94,30 @@ Groongaでは、位置情報(経緯度)を保存することができます
|
|
92
94
|
.. ]
|
93
95
|
.. select --table Site --query "_id:1 OR _id:2" --output_columns _key,location
|
94
96
|
|
95
|
-
|
97
|
+
Then assign the value of geo distance which is calculated by :doc:`/reference/functions/geo_distance` function to ``scorer`` parameter.
|
96
98
|
|
97
|
-
|
99
|
+
Let's show geo distance from Akihabara station in Japan. In world geodetic system, the latitude of Akihabara station is 35 degrees 41 minutes 55.259 seconds, the longitude of Akihabara station is 139 degrees 46 minutes 27.188 seconds. Specify "128515259x503187188" for geo_distance function.
|
98
100
|
|
99
101
|
.. groonga-command
|
100
102
|
.. include:: ../example/tutorial/search-5.log
|
101
103
|
.. select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")'
|
102
104
|
|
103
|
-
|
105
|
+
As you can see, the geo distance between Tokyo station and Akihabara station is 2054 meters, the geo distance between Akihabara station and Shinjyuku station is 6720 meters.
|
104
106
|
|
105
|
-
geo_distance
|
107
|
+
The return value of geo_distance function is also used for sorting by specifying pseudo ``_score`` column to ``sortby`` parameter.
|
106
108
|
|
107
109
|
.. groonga-command
|
108
110
|
.. include:: ../example/tutorial/search-6.log
|
109
111
|
.. select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")' --sortby -_score
|
110
112
|
|
111
|
-
|
113
|
+
Groonga also supports to narrow down by "a certain point within specified meters".
|
112
114
|
|
113
|
-
|
115
|
+
In such a case, use :doc:`/reference/functions/geo_in_circle` function in ``filter`` parameter.
|
114
116
|
|
115
|
-
|
117
|
+
For example, search the records which exists within 5000 meters from Akihabara station.
|
116
118
|
|
117
119
|
.. groonga-command
|
118
120
|
.. include:: ../example/tutorial/search-7.log
|
119
121
|
.. select --table Site --output_columns _key,location --filter 'geo_in_circle(location, "128515259x503187188", 5000)'
|
120
122
|
|
121
|
-
|
123
|
+
There is :doc:`/reference/functions/geo_in_rectangle` function which is used to search a certain point within specified region.
|