rroonga 4.0.3-x86-mingw32 → 4.0.4-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +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
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.2. リモートアクセス — Groonga v4.0.
|
10
|
+
<title>4.2. リモートアクセス — Groonga v4.0.4-214-gb1aaec1ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.4-214-gb1aaec1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.4-214-gb1aaec1ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.3. いろいろなデータの保存" href="data.html" />
|
32
32
|
<link rel="prev" title="4.1. 基本的な操作" href="introduction.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../index.html">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="introduction.html" title="4.1. 基本的な操作"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -69,11 +69,11 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="remote-access">
|
75
75
|
<h1>4.2. リモートアクセス<a class="headerlink" href="#remote-access" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
|
-
<p>Groongaをサーバとして起動することにより、ネットワークを介してデータベースにアクセスできるようになります。
|
76
|
+
<p>Groongaをサーバとして起動することにより、ネットワークを介してデータベースにアクセスできるようになります。Groongaがサポートしているプロトコルは、Groongaの専用プロトコルであるGQTP、memcachedバイナリプロトコル、HTTPの三種類です。</p>
|
77
77
|
<div class="section" id="groonga-query-transfer-protocol-gqtp">
|
78
78
|
<h2>4.2.1. Groonga専用プロトコル(GQTP)<a class="headerlink" href="#groonga-query-transfer-protocol-gqtp" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
79
|
<div class="section" id="how-to-run-a-gqtp-server">
|
@@ -83,7 +83,7 @@
|
|
83
83
|
<div class="highlight-none"><div class="highlight"><pre>groonga [-p PORT_NUMBER] -s DB_PATH
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
|
-
<p><cite>-s</cite> オプションはGroongaをサーバとして起動するためのオプションです。DB_PATHには既存のデータベースのパスを指定します。 <cite>-p</cite> オプションとその引数により、サーバのポート番号を指定することができます。ポート番号を省略した場合は
|
86
|
+
<p><cite>-s</cite> オプションはGroongaをサーバとして起動するためのオプションです。DB_PATHには既存のデータベースのパスを指定します。 <cite>-p</cite> オプションとその引数により、サーバのポート番号を指定することができます。ポート番号を省略した場合は10043が使用されます。</p>
|
87
87
|
<p>以下のコマンドにより、デフォルトのポート番号で待ち受けるサーバを起動することができます。サーバは指定されたデータベースへの操作を受け付けます。</p>
|
88
88
|
<p>実行例:</p>
|
89
89
|
<div class="highlight-none"><div class="highlight"><pre>% groonga -s /tmp/groonga-databases/introduction.db
|
@@ -114,7 +114,7 @@ Ctrl-c
|
|
114
114
|
<div class="highlight-none"><div class="highlight"><pre>groonga [-p PORT_NUMBER] -c [HOST_NAME_OR_IP_ADDRESS]
|
115
115
|
</pre></div>
|
116
116
|
</div>
|
117
|
-
<p>上記のコマンドによって起動されたクライアントは、サーバとの接続に成功すると対話モードに入ります。HOST_NAME_OR_IP_ADDRESSにはサーバのホスト名もしくはIPアドレスを指定します。HOST_NAME_OR_IP_ADDRESSが省略されたときは"localhost"をサーバのホスト名として採用します。また、 <cite>-p</cite> オプションとその引数により、サーバのポート番号を指定することができます。ポート番号を省略した場合は
|
117
|
+
<p>上記のコマンドによって起動されたクライアントは、サーバとの接続に成功すると対話モードに入ります。HOST_NAME_OR_IP_ADDRESSにはサーバのホスト名もしくはIPアドレスを指定します。HOST_NAME_OR_IP_ADDRESSが省略されたときは"localhost"をサーバのホスト名として採用します。また、 <cite>-p</cite> オプションとその引数により、サーバのポート番号を指定することができます。ポート番号を省略した場合は10043が使用されます。</p>
|
118
118
|
<p>実行例:</p>
|
119
119
|
<div class="highlight-none"><div class="highlight"><pre>% groonga -c
|
120
120
|
status
|
@@ -171,7 +171,7 @@ status
|
|
171
171
|
<div class="highlight-none"><div class="highlight"><pre>groonga [-p PORT_NUMBER] -d --protocol http DB_PATH
|
172
172
|
</pre></div>
|
173
173
|
</div>
|
174
|
-
<p><cite>--protocol</cite> オプションとその引数により、サーバのプロトコルを指定することができます。"http"はHTTP
|
174
|
+
<p><cite>--protocol</cite> オプションとその引数により、サーバのプロトコルを指定することができます。"http"はHTTPサーバの起動を指示しています。<cite>-p</cite> オプションを省略した場合は10041のポート番号が使用されます。</p>
|
175
175
|
<p>以下のコマンドは、ポート番号80で待ち受けるHTTPサーバをデーモンとして起動します。</p>
|
176
176
|
<p>実行例:</p>
|
177
177
|
<div class="highlight-none"><div class="highlight"><pre>% sudo groonga -p 80 -d --protocol http /tmp/groonga-databases/introduction.db
|
@@ -292,7 +292,7 @@ select --table Site --query title:@this
|
|
292
292
|
</div>
|
293
293
|
</div>
|
294
294
|
</div>
|
295
|
-
<div class="sphinxsidebar"
|
295
|
+
<div class="sphinxsidebar">
|
296
296
|
<div class="sphinxsidebarwrapper">
|
297
297
|
<h3><a href="../index.html">目次</a></h3>
|
298
298
|
<ul>
|
@@ -322,14 +322,12 @@ select --table Site --query title:@this
|
|
322
322
|
<h4>次のトピックへ</h4>
|
323
323
|
<p class="topless"><a href="data.html"
|
324
324
|
title="次の章へ">4.3. いろいろなデータの保存</a></p>
|
325
|
-
<
|
326
|
-
|
327
|
-
<
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
</div>
|
332
|
-
<div id="searchbox" style="display: none" role="search">
|
325
|
+
<h3>このページ</h3>
|
326
|
+
<ul class="this-page-menu">
|
327
|
+
<li><a href="../_sources/tutorial/network.txt"
|
328
|
+
rel="nofollow">ソースコードを表示</a></li>
|
329
|
+
</ul>
|
330
|
+
<div id="searchbox" style="display: none">
|
333
331
|
<h3>クイック検索</h3>
|
334
332
|
<form class="search" action="../search.html" method="get">
|
335
333
|
<input type="text" name="q" />
|
@@ -346,7 +344,7 @@ select --table Site --query title:@this
|
|
346
344
|
</div>
|
347
345
|
<div class="clearer"></div>
|
348
346
|
</div>
|
349
|
-
<div class="related"
|
347
|
+
<div class="related">
|
350
348
|
<h3>ナビゲーション</h3>
|
351
349
|
<ul>
|
352
350
|
<li class="right" style="margin-right: 10px">
|
@@ -358,11 +356,11 @@ select --table Site --query title:@this
|
|
358
356
|
<li class="right" >
|
359
357
|
<a href="introduction.html" title="4.1. 基本的な操作"
|
360
358
|
>前へ</a> |</li>
|
361
|
-
<li><a href="../index.html">Groonga v4.0.
|
359
|
+
<li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> »</li>
|
362
360
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
363
361
|
</ul>
|
364
362
|
</div>
|
365
|
-
<div class="footer"
|
363
|
+
<div class="footer">
|
366
364
|
© Copyright 2009-2014, Brazil, Inc.
|
367
365
|
</div>
|
368
366
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.8. パトリシア木による前方一致検索 — Groonga v4.0.
|
10
|
+
<title>4.8. パトリシア木による前方一致検索 — Groonga v4.0.4-214-gb1aaec1ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.4-214-gb1aaec1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.4-214-gb1aaec1ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.9. 全文検索の語彙表に対する追加情報" href="lexicon.html" />
|
32
32
|
<link rel="prev" title="4.7. match_columnsパラメータ" href="match_columns.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../index.html">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="match_columns.html" title="4.7. match_columnsパラメータ"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -69,26 +69,29 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
|
-
<div class="section" id="
|
75
|
-
<h1>4.8. パトリシア木による前方一致検索<a class="headerlink" href="#
|
76
|
-
<p>Groonga
|
77
|
-
<
|
78
|
-
<
|
74
|
+
<div class="section" id="prefix-search-with-patricia-trie">
|
75
|
+
<h1>4.8. パトリシア木による前方一致検索<a class="headerlink" href="#prefix-search-with-patricia-trie" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
|
+
<p>Groongaのテーブルは、テーブル作成時にパトリシア木オプションを指定すると、前方一致検索を行うことができます。</p>
|
77
|
+
<p>また、追加のオプションを指定することにより、主キーの後方一致検索をも行うことができます。</p>
|
78
|
+
<div class="section" id="prefix-search-by-primary-key">
|
79
|
+
<h2>4.8.1. 主キーによる前方一致検索<a class="headerlink" href="#prefix-search-by-primary-key" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
80
|
<p>table_createコマンドのflagsオプションにTABLE_PAT_KEYを指定することで、主キーによる前方一致検索ができるようになります。</p>
|
80
81
|
<p>実行例:</p>
|
81
82
|
<div class="highlight-none"><div class="highlight"><pre>table_create --name PatPrefix --flags TABLE_PAT_KEY --key_type ShortText
|
82
83
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
83
84
|
load --table PatPrefix
|
84
85
|
[
|
85
|
-
{"_key":"
|
86
|
-
{"_key":"
|
87
|
-
{"_key":"
|
88
|
-
{"_key":"
|
86
|
+
{"_key":"James"}
|
87
|
+
{"_key":"Jason"}
|
88
|
+
{"_key":"Jennifer"},
|
89
|
+
{"_key":"Jeff"},
|
90
|
+
{"_key":"John"},
|
91
|
+
{"_key":"Joseph"},
|
89
92
|
]
|
90
|
-
# [[0, 1337566253.89858, 0.000355720520019531],
|
91
|
-
select --table PatPrefix --query _key
|
93
|
+
# [[0, 1337566253.89858, 0.000355720520019531], 6]
|
94
|
+
select --table PatPrefix --query _key:^Je
|
92
95
|
# [
|
93
96
|
# [
|
94
97
|
# 0,
|
@@ -111,12 +114,12 @@ select --table PatPrefix --query _key:^ひろ
|
|
111
114
|
# ]
|
112
115
|
# ],
|
113
116
|
# [
|
114
|
-
#
|
115
|
-
# "
|
117
|
+
# 3,
|
118
|
+
# "Jennifer"
|
116
119
|
# ],
|
117
120
|
# [
|
118
|
-
#
|
119
|
-
# "
|
121
|
+
# 4,
|
122
|
+
# "Jeff"
|
120
123
|
# ]
|
121
124
|
# ]
|
122
125
|
# ]
|
@@ -124,8 +127,8 @@ select --table PatPrefix --query _key:^ひろ
|
|
124
127
|
</pre></div>
|
125
128
|
</div>
|
126
129
|
</div>
|
127
|
-
<div class="section" id="
|
128
|
-
<h2>4.8.2. 主キーによる後方一致検索<a class="headerlink" href="#
|
130
|
+
<div class="section" id="id1">
|
131
|
+
<h2>4.8.2. 主キーによる後方一致検索<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
129
132
|
<p>table_createコマンドのflagsオプションにTABLE_PAT_KEYとKEY_WITH_SISを指定することで、主キーによる前方一致検索・後方一致検索の両方が可能となります。</p>
|
130
133
|
<p>KEY_WITH_SISフラグを付与すると、データを追加する際に後方一致用のレコードも追加されてしまいます。そのため、単純に検索すると、元のレコードに加えて自動的に追加されたレコードまでヒットしてしまいます。元のレコードのみ検索するために、一工夫必要になります。</p>
|
131
134
|
<p>例えば、元のレコードと自動的に追加されたレコードとの区別をつけるために、元のレコードであることを示すoriginalカラムを追加して、検索時にはoriginalカラムが <tt class="docutils literal"><span class="pre">true</span></tt> も検索条件に加えます。 <tt class="docutils literal"><span class="pre">--query</span></tt> オプションでは <tt class="docutils literal"><span class="pre">Bool</span></tt> 型の値を直感的に指定することができないので <tt class="docutils literal"><span class="pre">--filter</span></tt> オプションを使っていることに注意してください。</p>
|
@@ -239,13 +242,13 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori
|
|
239
242
|
</div>
|
240
243
|
</div>
|
241
244
|
</div>
|
242
|
-
<div class="sphinxsidebar"
|
245
|
+
<div class="sphinxsidebar">
|
243
246
|
<div class="sphinxsidebarwrapper">
|
244
247
|
<h3><a href="../index.html">目次</a></h3>
|
245
248
|
<ul>
|
246
249
|
<li><a class="reference internal" href="#">4.8. パトリシア木による前方一致検索</a><ul>
|
247
|
-
<li><a class="reference internal" href="#
|
248
|
-
<li><a class="reference internal" href="#
|
250
|
+
<li><a class="reference internal" href="#prefix-search-by-primary-key">4.8.1. 主キーによる前方一致検索</a></li>
|
251
|
+
<li><a class="reference internal" href="#id1">4.8.2. 主キーによる後方一致検索</a></li>
|
249
252
|
</ul>
|
250
253
|
</li>
|
251
254
|
</ul>
|
@@ -256,14 +259,12 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori
|
|
256
259
|
<h4>次のトピックへ</h4>
|
257
260
|
<p class="topless"><a href="lexicon.html"
|
258
261
|
title="次の章へ">4.9. 全文検索の語彙表に対する追加情報</a></p>
|
259
|
-
<
|
260
|
-
|
261
|
-
<
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
</div>
|
266
|
-
<div id="searchbox" style="display: none" role="search">
|
262
|
+
<h3>このページ</h3>
|
263
|
+
<ul class="this-page-menu">
|
264
|
+
<li><a href="../_sources/tutorial/patricia_trie.txt"
|
265
|
+
rel="nofollow">ソースコードを表示</a></li>
|
266
|
+
</ul>
|
267
|
+
<div id="searchbox" style="display: none">
|
267
268
|
<h3>クイック検索</h3>
|
268
269
|
<form class="search" action="../search.html" method="get">
|
269
270
|
<input type="text" name="q" />
|
@@ -280,7 +281,7 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori
|
|
280
281
|
</div>
|
281
282
|
<div class="clearer"></div>
|
282
283
|
</div>
|
283
|
-
<div class="related"
|
284
|
+
<div class="related">
|
284
285
|
<h3>ナビゲーション</h3>
|
285
286
|
<ul>
|
286
287
|
<li class="right" style="margin-right: 10px">
|
@@ -292,11 +293,11 @@ select --table PatSuffix --filter '_key @$ "ゆき" && ori
|
|
292
293
|
<li class="right" >
|
293
294
|
<a href="match_columns.html" title="4.7. match_columnsパラメータ"
|
294
295
|
>前へ</a> |</li>
|
295
|
-
<li><a href="../index.html">Groonga v4.0.
|
296
|
+
<li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> »</li>
|
296
297
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
297
298
|
</ul>
|
298
299
|
</div>
|
299
|
-
<div class="footer"
|
300
|
+
<div class="footer">
|
300
301
|
© Copyright 2009-2014, Brazil, Inc.
|
301
302
|
</div>
|
302
303
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.11. クエリ拡張 — Groonga v4.0.
|
10
|
+
<title>4.11. クエリ拡張 — Groonga v4.0.4-214-gb1aaec1ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.4-214-gb1aaec1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.4-214-gb1aaec1ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="5. サジェスト" href="../suggest.html" />
|
32
32
|
<link rel="prev" title="4.10. マイクロブログ検索システムの作成" href="micro_blog.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../index.html">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -69,7 +69,7 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
74
|
<div class="section" id="id1">
|
75
75
|
<h1>4.11. クエリ拡張<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
@@ -273,7 +273,7 @@ select Doc --match_columns body --query "シークヮーサー" --quer
|
|
273
273
|
</div>
|
274
274
|
</div>
|
275
275
|
</div>
|
276
|
-
<div class="sphinxsidebar"
|
276
|
+
<div class="sphinxsidebar">
|
277
277
|
<div class="sphinxsidebarwrapper">
|
278
278
|
<h3><a href="../index.html">目次</a></h3>
|
279
279
|
<ul>
|
@@ -290,14 +290,12 @@ select Doc --match_columns body --query "シークヮーサー" --quer
|
|
290
290
|
<h4>次のトピックへ</h4>
|
291
291
|
<p class="topless"><a href="../suggest.html"
|
292
292
|
title="次の章へ">5. サジェスト</a></p>
|
293
|
-
<
|
294
|
-
|
295
|
-
<
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
</div>
|
300
|
-
<div id="searchbox" style="display: none" role="search">
|
293
|
+
<h3>このページ</h3>
|
294
|
+
<ul class="this-page-menu">
|
295
|
+
<li><a href="../_sources/tutorial/query_expansion.txt"
|
296
|
+
rel="nofollow">ソースコードを表示</a></li>
|
297
|
+
</ul>
|
298
|
+
<div id="searchbox" style="display: none">
|
301
299
|
<h3>クイック検索</h3>
|
302
300
|
<form class="search" action="../search.html" method="get">
|
303
301
|
<input type="text" name="q" />
|
@@ -314,7 +312,7 @@ select Doc --match_columns body --query "シークヮーサー" --quer
|
|
314
312
|
</div>
|
315
313
|
<div class="clearer"></div>
|
316
314
|
</div>
|
317
|
-
<div class="related"
|
315
|
+
<div class="related">
|
318
316
|
<h3>ナビゲーション</h3>
|
319
317
|
<ul>
|
320
318
|
<li class="right" style="margin-right: 10px">
|
@@ -326,11 +324,11 @@ select Doc --match_columns body --query "シークヮーサー" --quer
|
|
326
324
|
<li class="right" >
|
327
325
|
<a href="micro_blog.html" title="4.10. マイクロブログ検索システムの作成"
|
328
326
|
>前へ</a> |</li>
|
329
|
-
<li><a href="../index.html">Groonga v4.0.
|
327
|
+
<li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> »</li>
|
330
328
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
331
329
|
</ul>
|
332
330
|
</div>
|
333
|
-
<div class="footer"
|
331
|
+
<div class="footer">
|
334
332
|
© Copyright 2009-2014, Brazil, Inc.
|
335
333
|
</div>
|
336
334
|
</body>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>4.4.
|
10
|
+
<title>4.4. さまざまな検索条件 — Groonga v4.0.4-214-gb1aaec1ドキュメント</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../',
|
18
|
-
VERSION: '4.0.
|
18
|
+
VERSION: '4.0.4-214-gb1aaec1',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -26,12 +26,12 @@
|
|
26
26
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
27
27
|
<script type="text/javascript" src="../_static/translations.js"></script>
|
28
28
|
<link rel="shortcut icon" href="../_static/favicon.ico"/>
|
29
|
-
<link rel="top" title="Groonga v4.0.
|
29
|
+
<link rel="top" title="Groonga v4.0.4-214-gb1aaec1ドキュメント" href="../index.html" />
|
30
30
|
<link rel="up" title="4. チュートリアル" href="../tutorial.html" />
|
31
31
|
<link rel="next" title="4.5. ドリルダウン" href="drilldown.html" />
|
32
32
|
<link rel="prev" title="4.3. いろいろなデータの保存" href="data.html" />
|
33
33
|
</head>
|
34
|
-
<body
|
34
|
+
<body>
|
35
35
|
<div class="header">
|
36
36
|
<h1 class="title">
|
37
37
|
<a id="top-link" href="../index.html">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
|
52
|
-
<div class="related"
|
52
|
+
<div class="related">
|
53
53
|
<h3>ナビゲーション</h3>
|
54
54
|
<ul>
|
55
55
|
<li class="right" style="margin-right: 10px">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
<li class="right" >
|
62
62
|
<a href="data.html" title="4.3. いろいろなデータの保存"
|
63
63
|
accesskey="P">前へ</a> |</li>
|
64
|
-
<li><a href="../index.html">Groonga v4.0.
|
64
|
+
<li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> »</li>
|
65
65
|
<li><a href="../tutorial.html" accesskey="U">4. チュートリアル</a> »</li>
|
66
66
|
</ul>
|
67
67
|
</div>
|
@@ -69,14 +69,14 @@
|
|
69
69
|
<div class="document">
|
70
70
|
<div class="documentwrapper">
|
71
71
|
<div class="bodywrapper">
|
72
|
-
<div class="body"
|
72
|
+
<div class="body">
|
73
73
|
|
74
|
-
<div class="section" id="
|
75
|
-
<h1>4.4.
|
74
|
+
<div class="section" id="various-search-conditions">
|
75
|
+
<h1>4.4. さまざまな検索条件<a class="headerlink" href="#various-search-conditions" title="このヘッドラインへのパーマリンク">¶</a></h1>
|
76
76
|
<p>Groongaは、JavaScriptに似た文法での条件絞込や、計算した値を用いたソートを行うことができます。また、位置情報(緯度・経度)を用いた絞込・ソートを行うことができます。</p>
|
77
|
-
<div class="section" id="javascript">
|
78
|
-
<h2>4.4.1. JavaScriptに似た文法での絞込・全文検索<a class="headerlink" href="#javascript" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
|
-
<p>selectコマンドのfilter
|
77
|
+
<div class="section" id="narrow-down-full-text-search-by-using-syntax-like-javascript">
|
78
|
+
<h2>4.4.1. JavaScriptに似た文法での絞込・全文検索<a class="headerlink" href="#narrow-down-full-text-search-by-using-syntax-like-javascript" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
79
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">filter</span></tt> パラメータは、レコードの検索条件を指定します。 <tt class="docutils literal"><span class="pre">filter</span></tt> パラメータと <tt class="docutils literal"><span class="pre">query</span></tt> パラメータでは、 <tt class="docutils literal"><span class="pre">filter</span></tt> パラメータにはJavaScriptの式に似た文法で条件を指定する点が違います。</p>
|
80
80
|
<p>実行例:</p>
|
81
81
|
<div class="highlight-none"><div class="highlight"><pre>select --table Site --filter "_id <= 1" --output_columns _id,_key
|
82
82
|
# [
|
@@ -109,11 +109,12 @@
|
|
109
109
|
# ]
|
110
110
|
</pre></div>
|
111
111
|
</div>
|
112
|
-
<p
|
113
|
-
<
|
114
|
-
|
115
|
-
|
116
|
-
<p
|
112
|
+
<p>上記クエリの詳細をみてみましょう。 <tt class="docutils literal"><span class="pre">filter</span></tt> パラメータではこのように条件が指定されています:</p>
|
113
|
+
<div class="highlight-none"><div class="highlight"><pre>_id <= 1
|
114
|
+
</pre></div>
|
115
|
+
</div>
|
116
|
+
<p>このケースでは、 <tt class="docutils literal"><span class="pre">_id</span></tt> の値が1であるという条件に合致するレコードを返します。</p>
|
117
|
+
<p>また、 <tt class="docutils literal"><span class="pre">&&</span></tt> や <tt class="docutils literal"><span class="pre">||</span></tt> を使って、条件のAND・OR指定をすることもできます。</p>
|
117
118
|
<p>実行例:</p>
|
118
119
|
<div class="highlight-none"><div class="highlight"><pre>select --table Site --filter "_id >= 4 && _id <= 6" --output_columns _id,_key
|
119
120
|
# [
|
@@ -199,14 +200,12 @@ select --table Site --filter "_id <= 2 || _id >= 7" --output_col
|
|
199
200
|
# ]
|
200
201
|
</pre></div>
|
201
202
|
</div>
|
202
|
-
<p>queryパラメータとfilterパラメータを同時に指定すると、両者の条件をともに満たすレコードが結果として返ります。</p>
|
203
|
+
<p><tt class="docutils literal"><span class="pre">query</span></tt> パラメータと <tt class="docutils literal"><span class="pre">filter</span></tt> パラメータを同時に指定すると、両者の条件をともに満たすレコードが結果として返ります。</p>
|
203
204
|
</div>
|
204
|
-
<div class="section" id="scorer">
|
205
|
-
<h2>4.4.2. scorerを利用したソート<a class="headerlink" href="#scorer" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
206
|
-
<p>selectコマンドのscorerパラメータは、
|
207
|
-
|
208
|
-
<p>filterパラメータと同様に、
|
209
|
-
JavaScriptの式に似たな文法で様々な条件を指定することができます。</p>
|
205
|
+
<div class="section" id="sort-by-using-scorer">
|
206
|
+
<h2>4.4.2. <tt class="docutils literal"><span class="pre">scorer</span></tt> を利用したソート<a class="headerlink" href="#sort-by-using-scorer" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
207
|
+
<p><tt class="docutils literal"><span class="pre">select</span></tt> コマンドの <tt class="docutils literal"><span class="pre">scorer</span></tt> パラメータは、 全文検索を行った結果の各レコードに対して処理を行うためのパラメータです。</p>
|
208
|
+
<p><tt class="docutils literal"><span class="pre">filter</span></tt> パラメータと同様に、 JavaScriptの式に似た文法で様々な条件を指定することができます。</p>
|
210
209
|
<p>実行例:</p>
|
211
210
|
<div class="highlight-none"><div class="highlight"><pre>select --table Site --filter "1" --scorer "_score = rand()" --output_columns _id,_key,_score --sortby _score
|
212
211
|
# [
|
@@ -358,29 +357,36 @@ select --table Site --filter "1" --scorer "_score = rand()"
|
|
358
357
|
# ]
|
359
358
|
</pre></div>
|
360
359
|
</div>
|
361
|
-
<p
|
362
|
-
<p
|
363
|
-
<
|
364
|
-
|
365
|
-
|
366
|
-
<p
|
367
|
-
<
|
368
|
-
<div>_score
|
369
|
-
|
360
|
+
<p>'_score'は仮想的なカラムです。全文検索のスコアが代入されています。仮想的なカラムの詳細については、 <a class="reference internal" href="../reference/columns/pseudo.html"><em>疑似カラム (pseudo_column)</em></a> を参照してください。</p>
|
361
|
+
<p>上記のクエリでは <tt class="docutils literal"><span class="pre">scorer</span></tt> パラメータの条件はこのとおりです:</p>
|
362
|
+
<div class="highlight-none"><div class="highlight"><pre>_score = rand()
|
363
|
+
</pre></div>
|
364
|
+
</div>
|
365
|
+
<p>このケースでは、rand()という乱数を返す関数を用いて、全文検索のスコアを乱数で上書きしています。</p>
|
366
|
+
<p><tt class="docutils literal"><span class="pre">sortby</span></tt> パラメータの条件は次のとおりです:</p>
|
367
|
+
<div class="highlight-none"><div class="highlight"><pre>_score
|
368
|
+
</pre></div>
|
369
|
+
</div>
|
370
|
+
<p>これは、スコア順に検索結果を昇順にソートすることを意味しています。</p>
|
370
371
|
<p>よって、上記のクエリは実行されるたびに検索結果の並び順がランダムに変わります。</p>
|
371
372
|
</div>
|
372
|
-
<div class="section" id="
|
373
|
-
<h2>4.4.3. 位置情報を用いた絞込・ソート<a class="headerlink" href="#
|
373
|
+
<div class="section" id="narrow-down-sort-by-using-location-information">
|
374
|
+
<h2>4.4.3. 位置情報を用いた絞込・ソート<a class="headerlink" href="#narrow-down-sort-by-using-location-information" title="このヘッドラインへのパーマリンク">¶</a></h2>
|
374
375
|
<p>Groongaでは、位置情報(経緯度)を保存することができます。また、保存した経緯度を用いて絞込やソートができます。</p>
|
375
|
-
<p
|
376
|
-
<p
|
376
|
+
<p>Groongaでは位置情報を保存するためのカラムの型として、TokyoGeoPoint/WGS84GeoPointの2つの型があります。前者は日本測地系、後者は世界測地系(WGS84相当)の経緯度を保存します。</p>
|
377
|
+
<p>以下のようにして経緯度を指定します:</p>
|
377
378
|
<ul class="simple">
|
378
|
-
<li>"
|
379
|
-
|
380
|
-
<li>"
|
381
|
-
|
379
|
+
<li><p class="first">"経度のミリ秒表記x緯度のミリ秒表記" (例: "128452975x503157902")</p>
|
380
|
+
</li>
|
381
|
+
<li><p class="first">"経度のミリ秒表記,緯度のミリ秒表記" (例: "128452975,503157902")</p>
|
382
|
+
</li>
|
383
|
+
<li><p class="first">"経度の度数表記x緯度の度数表記" (例: "35.6813819x139.7660839")</p>
|
384
|
+
</li>
|
385
|
+
<li><p class="first">"経度の度数表記,緯度の度数表記" (例: "35.6813819,139.7660839")</p>
|
386
|
+
</li>
|
382
387
|
</ul>
|
383
|
-
<p>ここでは、ためしに東京駅と新宿駅とついて、世界測地系での位置情報を保存してみましょう。東京駅は緯度が35度40分52.975秒、経度が139度45分57.902秒です。新宿駅は緯度が35度41分27.316秒、経度が139度42分0.929秒です。よって、ミリ秒表記の場合はそれぞれ"128452975x503157902"/"128487316x502920929"となります。度数表記の場合はそれぞれ"35.6813819x139.7660839"/"35.6909211x139.7002581"
|
388
|
+
<p>ここでは、ためしに東京駅と新宿駅とついて、世界測地系での位置情報を保存してみましょう。東京駅は緯度が35度40分52.975秒、経度が139度45分57.902秒です。新宿駅は緯度が35度41分27.316秒、経度が139度42分0.929秒です。よって、ミリ秒表記の場合はそれぞれ"128452975x503157902"/"128487316x502920929"となります。度数表記の場合はそれぞれ"35.6813819x139.7660839"/"35.6909211x139.7002581"となります。</p>
|
389
|
+
<p>ミリ秒表記で位置情報を登録してみましょう。</p>
|
384
390
|
<p>実行例:</p>
|
385
391
|
<div class="highlight-none"><div class="highlight"><pre>column_create --table Site --name location --type WGS84GeoPoint
|
386
392
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -425,7 +431,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
425
431
|
# ]
|
426
432
|
</pre></div>
|
427
433
|
</div>
|
428
|
-
<p>scorer
|
434
|
+
<p><tt class="docutils literal"><span class="pre">scorer</span></tt> パラメータに <a class="reference internal" href="../reference/functions/geo_distance.html"><em>geo_distance</em></a> を使って計算した距離を設定します。</p>
|
429
435
|
<p>ここでは、秋葉原駅からの距離を表示させてみましょう。世界測地系では、秋葉原駅の位置は緯度が35度41分55.259秒、経度が139度46分27.188秒です。よって、geo_distance関数に与える文字列は"128515259x503187188"となります。</p>
|
430
436
|
<p>実行例:</p>
|
431
437
|
<div class="highlight-none"><div class="highlight"><pre>select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")'
|
@@ -469,8 +475,8 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
469
475
|
# ]
|
470
476
|
</pre></div>
|
471
477
|
</div>
|
472
|
-
<p
|
473
|
-
<p>geo_distance
|
478
|
+
<p>結果から、東京駅と秋葉原駅は2054m、秋葉原駅と新宿駅は6720m離れているようです。</p>
|
479
|
+
<p><tt class="docutils literal"><span class="pre">geo_distance</span></tt> 関数は、<tt class="docutils literal"><span class="pre">_score</span></tt> に値を設定することで、<tt class="docutils literal"><span class="pre">sortby</span></tt> パラメータによるソートでも用いることができます。</p>
|
474
480
|
<p>実行例:</p>
|
475
481
|
<div class="highlight-none"><div class="highlight"><pre>select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")' --sortby -_score
|
476
482
|
# [
|
@@ -513,8 +519,8 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
513
519
|
# ]
|
514
520
|
</pre></div>
|
515
521
|
</div>
|
516
|
-
<p
|
517
|
-
<p>filter
|
522
|
+
<p>Groongaでは、「ある地点から何m以内に存在する」といった絞込も可能です。</p>
|
523
|
+
<p>その場合には、 <tt class="docutils literal"><span class="pre">filter</span></tt> パラメータで <a class="reference internal" href="../reference/functions/geo_in_circle.html"><em>geo_in_circle</em></a> を指定します。</p>
|
518
524
|
<p>たとえば、秋葉原駅から5000m以内にあるレコードを検索してみましょう。</p>
|
519
525
|
<p>実行例:</p>
|
520
526
|
<div class="highlight-none"><div class="highlight"><pre>select --table Site --output_columns _key,location --filter 'geo_in_circle(location, "128515259x503187188", 5000)'
|
@@ -548,7 +554,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
548
554
|
# ]
|
549
555
|
</pre></div>
|
550
556
|
</div>
|
551
|
-
<p
|
557
|
+
<p>経緯度が指定の矩形領域内であるかどうかを判定する <a class="reference internal" href="../reference/functions/geo_in_rectangle.html"><em>geo_in_rectangle</em></a> も存在します。</p>
|
552
558
|
</div>
|
553
559
|
</div>
|
554
560
|
|
@@ -556,14 +562,14 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
556
562
|
</div>
|
557
563
|
</div>
|
558
564
|
</div>
|
559
|
-
<div class="sphinxsidebar"
|
565
|
+
<div class="sphinxsidebar">
|
560
566
|
<div class="sphinxsidebarwrapper">
|
561
567
|
<h3><a href="../index.html">目次</a></h3>
|
562
568
|
<ul>
|
563
|
-
<li><a class="reference internal" href="#">4.4.
|
564
|
-
<li><a class="reference internal" href="#javascript">4.4.1. JavaScriptに似た文法での絞込・全文検索</a></li>
|
565
|
-
<li><a class="reference internal" href="#scorer">4.4.2. scorerを利用したソート</a></li>
|
566
|
-
<li><a class="reference internal" href="#
|
569
|
+
<li><a class="reference internal" href="#">4.4. さまざまな検索条件</a><ul>
|
570
|
+
<li><a class="reference internal" href="#narrow-down-full-text-search-by-using-syntax-like-javascript">4.4.1. JavaScriptに似た文法での絞込・全文検索</a></li>
|
571
|
+
<li><a class="reference internal" href="#sort-by-using-scorer">4.4.2. <tt class="docutils literal"><span class="pre">scorer</span></tt> を利用したソート</a></li>
|
572
|
+
<li><a class="reference internal" href="#narrow-down-sort-by-using-location-information">4.4.3. 位置情報を用いた絞込・ソート</a></li>
|
567
573
|
</ul>
|
568
574
|
</li>
|
569
575
|
</ul>
|
@@ -574,14 +580,12 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
574
580
|
<h4>次のトピックへ</h4>
|
575
581
|
<p class="topless"><a href="drilldown.html"
|
576
582
|
title="次の章へ">4.5. ドリルダウン</a></p>
|
577
|
-
<
|
578
|
-
|
579
|
-
<
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
</div>
|
584
|
-
<div id="searchbox" style="display: none" role="search">
|
583
|
+
<h3>このページ</h3>
|
584
|
+
<ul class="this-page-menu">
|
585
|
+
<li><a href="../_sources/tutorial/search.txt"
|
586
|
+
rel="nofollow">ソースコードを表示</a></li>
|
587
|
+
</ul>
|
588
|
+
<div id="searchbox" style="display: none">
|
585
589
|
<h3>クイック検索</h3>
|
586
590
|
<form class="search" action="../search.html" method="get">
|
587
591
|
<input type="text" name="q" />
|
@@ -598,7 +602,7 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
598
602
|
</div>
|
599
603
|
<div class="clearer"></div>
|
600
604
|
</div>
|
601
|
-
<div class="related"
|
605
|
+
<div class="related">
|
602
606
|
<h3>ナビゲーション</h3>
|
603
607
|
<ul>
|
604
608
|
<li class="right" style="margin-right: 10px">
|
@@ -610,11 +614,11 @@ select --table Site --query "_id:1 OR _id:2" --output_columns _key,loc
|
|
610
614
|
<li class="right" >
|
611
615
|
<a href="data.html" title="4.3. いろいろなデータの保存"
|
612
616
|
>前へ</a> |</li>
|
613
|
-
<li><a href="../index.html">Groonga v4.0.
|
617
|
+
<li><a href="../index.html">Groonga v4.0.4-214-gb1aaec1ドキュメント</a> »</li>
|
614
618
|
<li><a href="../tutorial.html" >4. チュートリアル</a> »</li>
|
615
619
|
</ul>
|
616
620
|
</div>
|
617
|
-
<div class="footer"
|
621
|
+
<div class="footer">
|
618
622
|
© Copyright 2009-2014, Brazil, Inc.
|
619
623
|
</div>
|
620
624
|
</body>
|