rroonga 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.textile +13 -1
- data/ext/groonga/rb-grn-index-column.c +4 -0
- data/ext/groonga/rb-grn-object.c +2 -3
- data/ext/groonga/rb-grn.h +1 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/2.1/groonga.so +0 -0
- data/lib/groonga/schema.rb +1 -1
- data/rroonga-build.rb +1 -1
- data/rroonga.gemspec +1 -1
- data/test/test-database.rb +74 -0
- data/test/test-index-column.rb +22 -0
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/mecab-config +0 -0
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +0 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/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/development/document.txt +3 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/index.txt +0 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
- 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 +15 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +43 -3
- 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 +54 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_create.txt +38 -30
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +81 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_eval.txt +13 -19
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/ruby_load.txt +71 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +7 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +87 -33
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +0 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +176 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/completion.txt +69 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
- data/vendor/local/share/doc/groonga/en/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +7 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/development.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +127 -7
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +54 -42
- data/vendor/local/share/doc/groonga/en/html/install.html +7 -6
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/others.html +20 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +46 -10
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news.html +226 -165
- data/vendor/local/share/doc/groonga/en/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference.html +46 -36
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +16 -15
- data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +48 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +95 -14
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +24 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +196 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +90 -90
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +45 -44
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +61 -17
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +24 -12
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +174 -0
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +7 -9
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +11 -11
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +290 -0
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +194 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +10 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +167 -0
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +3 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/index.txt +0 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
- 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 +15 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +43 -3
- 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 +54 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_create.txt +38 -30
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +81 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_eval.txt +13 -19
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/ruby_load.txt +71 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +7 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +87 -33
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-create-dataset.txt +15 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +68 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +40 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +0 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +176 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/completion.txt +69 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting/mmap_cannot_allocate_memory.txt +45 -0
- data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +0 -4
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/community.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +127 -7
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/index.html +55 -42
- data/vendor/local/share/doc/groonga/ja/html/install.html +8 -7
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +17 -9
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news.html +245 -169
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +47 -37
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -36
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +17 -16
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +52 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +7 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +93 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +24 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +196 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +91 -91
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +44 -43
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +56 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +26 -13
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +222 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +175 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +8 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +289 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +7 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +195 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +11 -6
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +11 -11
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +170 -0
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +6 -6
- data/vendor/local/share/groonga/examples/dictionary/edict/edict-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/edict/edict2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/eijiro/eijiro2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene-import.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/gene95/gene2grn.rb +0 -0
- data/vendor/local/share/groonga/examples/dictionary/init-db.sh +0 -0
- data/vendor/local/share/groonga/examples/dictionary/jmdict/jmdict.rb +0 -0
- data/vendor/local/share/man/ja/man1/groonga.1 +1152 -241
- data/vendor/local/share/man/man1/groonga.1 +1215 -269
- metadata +150 -130
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.3.19. normalize —
|
10
|
+
<title>8.3.19. normalize — Groonga v3.0.9 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.9',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="
|
28
|
+
<link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.20. quit" href="quit.html" />
|
31
31
|
<link rel="prev" title="8.3.18. log_reopen" href="log_reopen.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="log_reopen.html" title="8.3.18. log_reopen"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">
|
63
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
@@ -86,9 +86,11 @@ It is usefull for you to check the results of normalizer.</p>
|
|
86
86
|
</div>
|
87
87
|
<div class="section" id="syntax">
|
88
88
|
<h2>8.3.19.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
89
|
-
<p><tt class="docutils literal"><span class="pre">normalize</span></tt> commands
|
90
|
-
|
91
|
-
<div class="highlight-none"><div class="highlight"><pre>normalize normalizer
|
89
|
+
<p><tt class="docutils literal"><span class="pre">normalize</span></tt> commands has two required parameters. They are
|
90
|
+
<tt class="docutils literal"><span class="pre">normalizer</span></tt> and <tt class="docutils literal"><span class="pre">string</span></tt>.</p>
|
91
|
+
<div class="highlight-none"><div class="highlight"><pre>normalize normalizer
|
92
|
+
string
|
93
|
+
[flags=NONE]
|
92
94
|
</pre></div>
|
93
95
|
</div>
|
94
96
|
</div>
|
@@ -119,28 +121,103 @@ Both of them are required.</p>
|
|
119
121
|
<p>There are required parameters, <tt class="docutils literal"><span class="pre">normalizer</span></tt> and <tt class="docutils literal"><span class="pre">string</span></tt>.</p>
|
120
122
|
<div class="section" id="normalizer">
|
121
123
|
<h4>8.3.19.4.1.1. <tt class="docutils literal"><span class="pre">normalizer</span></tt><a class="headerlink" href="#normalizer" title="Permalink to this headline">¶</a></h4>
|
122
|
-
<p>It specifies the name
|
123
|
-
|
124
|
-
|
124
|
+
<p>It specifies the normalizer name. <tt class="docutils literal"><span class="pre">normalize</span></tt> command uses the
|
125
|
+
normalizer that is named <tt class="docutils literal"><span class="pre">normalizer</span></tt>.</p>
|
126
|
+
<p>See <a class="reference internal" href="../normalizers.html"><em>Normalizers</em></a> about built-in normalizers.</p>
|
127
|
+
<p>Here is an example to use built-in <tt class="docutils literal"><span class="pre">NormalizerAuto</span></tt> normalizer.</p>
|
128
|
+
<p>TODO</p>
|
129
|
+
<p>If you want to use other normalizers, you need to register additional
|
130
|
+
normalizer plugin by <a class="reference internal" href="register.html"><em>register</em></a> command. For example, you can use
|
131
|
+
MySQL compatible normalizer by registering <a class="reference external" href="https://github.com/groonga/groonga-normalizer-mysql">groonga-normalizer-mysql</a>.</p>
|
125
132
|
</div>
|
126
133
|
<div class="section" id="string">
|
127
134
|
<h4>8.3.19.4.1.2. <tt class="docutils literal"><span class="pre">string</span></tt><a class="headerlink" href="#string" title="Permalink to this headline">¶</a></h4>
|
128
135
|
<p>It specifies any string which you want to normalize.</p>
|
136
|
+
<p>If you want to include spaces in <tt class="docutils literal"><span class="pre">string</span></tt>, you need to quote
|
137
|
+
<tt class="docutils literal"><span class="pre">string</span></tt> by single quotation (<tt class="docutils literal"><span class="pre">'</span></tt>) or double quotation (<tt class="docutils literal"><span class="pre">"</span></tt>).</p>
|
138
|
+
<p>Here is an example to use spaces in <tt class="docutils literal"><span class="pre">string</span></tt>.</p>
|
139
|
+
<p>TODO</p>
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
<div class="section" id="optional-parameters">
|
143
|
+
<h3>8.3.19.4.2. Optional parameters<a class="headerlink" href="#optional-parameters" title="Permalink to this headline">¶</a></h3>
|
144
|
+
<p>There are optional parameters.</p>
|
145
|
+
<div class="section" id="flags">
|
146
|
+
<h4>8.3.19.4.2.1. <tt class="docutils literal"><span class="pre">flags</span></tt><a class="headerlink" href="#flags" title="Permalink to this headline">¶</a></h4>
|
147
|
+
<p>It specifies a normalization customize options. You can specify
|
148
|
+
multiple options separated by "<tt class="docutils literal"><span class="pre">|</span></tt>". For example,
|
149
|
+
<tt class="docutils literal"><span class="pre">REMOVE_BLANK|WITH_TYPES</span></tt>.</p>
|
150
|
+
<p>Here are available flags.</p>
|
151
|
+
<table border="1" class="docutils">
|
152
|
+
<colgroup>
|
153
|
+
<col width="50%" />
|
154
|
+
<col width="50%" />
|
155
|
+
</colgroup>
|
156
|
+
<thead valign="bottom">
|
157
|
+
<tr class="row-odd"><th class="head">Flag</th>
|
158
|
+
<th class="head">Description</th>
|
159
|
+
</tr>
|
160
|
+
</thead>
|
161
|
+
<tbody valign="top">
|
162
|
+
<tr class="row-even"><td><tt class="docutils literal"><span class="pre">NONE</span></tt></td>
|
163
|
+
<td>Just ignored.</td>
|
164
|
+
</tr>
|
165
|
+
<tr class="row-odd"><td><tt class="docutils literal"><span class="pre">REMOVE_BLANK</span></tt></td>
|
166
|
+
<td>TODO</td>
|
167
|
+
</tr>
|
168
|
+
<tr class="row-even"><td><tt class="docutils literal"><span class="pre">WITH_TYPES</span></tt></td>
|
169
|
+
<td>TODO</td>
|
170
|
+
</tr>
|
171
|
+
<tr class="row-odd"><td><tt class="docutils literal"><span class="pre">WITH_CHECKS</span></tt></td>
|
172
|
+
<td>TODO</td>
|
173
|
+
</tr>
|
174
|
+
<tr class="row-even"><td><tt class="docutils literal"><span class="pre">REMOVE_TOKENIZED_DELIMITER</span></tt></td>
|
175
|
+
<td>TODO</td>
|
176
|
+
</tr>
|
177
|
+
</tbody>
|
178
|
+
</table>
|
179
|
+
<p>Here is an example that uses <tt class="docutils literal"><span class="pre">REMOVE_BLANK</span></tt>.</p>
|
180
|
+
<p>TODO</p>
|
181
|
+
<p>Here is an example that uses <tt class="docutils literal"><span class="pre">WITH_TYPES</span></tt>.</p>
|
182
|
+
<p>TODO</p>
|
183
|
+
<p>Here is an example that uses <tt class="docutils literal"><span class="pre">REMOVE_TOKENIZED_DELIMITER</span></tt>.</p>
|
184
|
+
<p>TODO</p>
|
129
185
|
</div>
|
130
186
|
</div>
|
131
187
|
</div>
|
132
188
|
<div class="section" id="return-value">
|
133
189
|
<h2>8.3.19.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
134
|
-
<div class="highlight-none"><div class="highlight"><pre>[HEADER,
|
190
|
+
<div class="highlight-none"><div class="highlight"><pre>[HEADER, normalized_text]
|
135
191
|
</pre></div>
|
136
192
|
</div>
|
137
193
|
<p><tt class="docutils literal"><span class="pre">HEADER</span></tt></p>
|
138
194
|
<blockquote>
|
139
195
|
<div>The format of HEADER is [0, UNIX_TIME_WHEN_COMMAND_IS_STARTED, ELAPSED_TIME].
|
140
196
|
See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about HEADER.</div></blockquote>
|
141
|
-
<p><tt class="docutils literal"><span class="pre">
|
197
|
+
<p><tt class="docutils literal"><span class="pre">normalized_text</span></tt></p>
|
142
198
|
<blockquote>
|
143
|
-
<div>
|
199
|
+
<div><p><tt class="docutils literal"><span class="pre">normalized_text</span></tt> is an object that has the following attributes.</p>
|
200
|
+
<table border="1" class="docutils">
|
201
|
+
<colgroup>
|
202
|
+
<col width="50%" />
|
203
|
+
<col width="50%" />
|
204
|
+
</colgroup>
|
205
|
+
<thead valign="bottom">
|
206
|
+
<tr class="row-odd"><th class="head">Name</th>
|
207
|
+
<th class="head">Description</th>
|
208
|
+
</tr>
|
209
|
+
</thead>
|
210
|
+
<tbody valign="top">
|
211
|
+
<tr class="row-even"><td><tt class="docutils literal"><span class="pre">normalized</span></tt></td>
|
212
|
+
<td>The normalized text.</td>
|
213
|
+
</tr>
|
214
|
+
<tr class="row-odd"><td><tt class="docutils literal"><span class="pre">types</span></tt></td>
|
215
|
+
<td>An array of types of the normalized text. The N-th <tt class="docutils literal"><span class="pre">types</span></tt> shows
|
216
|
+
the type of the N-th character in <tt class="docutils literal"><span class="pre">normalized</span></tt>.</td>
|
217
|
+
</tr>
|
218
|
+
</tbody>
|
219
|
+
</table>
|
220
|
+
</div></blockquote>
|
144
221
|
</div>
|
145
222
|
<div class="section" id="see-also">
|
146
223
|
<h2>8.3.19.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
@@ -168,6 +245,10 @@ See <a class="reference internal" href="../command/output_format.html"><em>Outpu
|
|
168
245
|
<li><a class="reference internal" href="#string">8.3.19.4.1.2. <tt class="docutils literal"><span class="pre">string</span></tt></a></li>
|
169
246
|
</ul>
|
170
247
|
</li>
|
248
|
+
<li><a class="reference internal" href="#optional-parameters">8.3.19.4.2. Optional parameters</a><ul>
|
249
|
+
<li><a class="reference internal" href="#flags">8.3.19.4.2.1. <tt class="docutils literal"><span class="pre">flags</span></tt></a></li>
|
250
|
+
</ul>
|
251
|
+
</li>
|
171
252
|
</ul>
|
172
253
|
</li>
|
173
254
|
<li><a class="reference internal" href="#return-value">8.3.19.5. Return value</a></li>
|
@@ -216,7 +297,7 @@ See <a class="reference internal" href="../command/output_format.html"><em>Outpu
|
|
216
297
|
<li class="right" >
|
217
298
|
<a href="log_reopen.html" title="8.3.18. log_reopen"
|
218
299
|
>previous</a> |</li>
|
219
|
-
<li><a href="../../index.html">
|
300
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
220
301
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
221
302
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
222
303
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.3.20. quit —
|
10
|
+
<title>8.3.20. quit — Groonga v3.0.9 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.9',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="
|
28
|
+
<link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.21. register" href="register.html" />
|
31
31
|
<link rel="prev" title="8.3.19. normalize" href="normalize.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="normalize.html" title="8.3.19. normalize"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">
|
63
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
@@ -163,7 +163,7 @@
|
|
163
163
|
<li class="right" >
|
164
164
|
<a href="normalize.html" title="8.3.19. normalize"
|
165
165
|
>previous</a> |</li>
|
166
|
-
<li><a href="../../index.html">
|
166
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
167
167
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
168
168
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
169
169
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.3.21. register —
|
10
|
+
<title>8.3.21. register — Groonga v3.0.9 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.9',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="
|
28
|
+
<link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
30
|
<link rel="next" title="8.3.22. ruby_eval" href="ruby_eval.html" />
|
31
31
|
<link rel="prev" title="8.3.20. quit" href="quit.html" />
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<li class="right" >
|
61
61
|
<a href="quit.html" title="8.3.20. quit"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">
|
63
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
@@ -176,7 +176,7 @@ They are completed automatically.</p>
|
|
176
176
|
<li class="right" >
|
177
177
|
<a href="quit.html" title="8.3.20. quit"
|
178
178
|
>previous</a> |</li>
|
179
|
-
<li><a href="../../index.html">
|
179
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
180
180
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
181
181
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
182
182
|
</ul>
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<head>
|
8
8
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
9
|
|
10
|
-
<title>8.3.22. ruby_eval —
|
10
|
+
<title>8.3.22. ruby_eval — Groonga v3.0.9 documentation</title>
|
11
11
|
|
12
12
|
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
13
|
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript">
|
16
16
|
var DOCUMENTATION_OPTIONS = {
|
17
17
|
URL_ROOT: '../../',
|
18
|
-
VERSION: '3.0.
|
18
|
+
VERSION: '3.0.9',
|
19
19
|
COLLAPSE_INDEX: false,
|
20
20
|
FILE_SUFFIX: '.html',
|
21
21
|
HAS_SOURCE: true
|
@@ -25,9 +25,9 @@
|
|
25
25
|
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
26
|
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
27
|
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
-
<link rel="top" title="
|
28
|
+
<link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
|
29
29
|
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
|
-
<link rel="next" title="8.3.23.
|
30
|
+
<link rel="next" title="8.3.23. ruby_load" href="ruby_load.html" />
|
31
31
|
<link rel="prev" title="8.3.21. register" href="register.html" />
|
32
32
|
</head>
|
33
33
|
<body>
|
@@ -55,12 +55,12 @@
|
|
55
55
|
<a href="../../genindex.html" title="General Index"
|
56
56
|
accesskey="I">index</a></li>
|
57
57
|
<li class="right" >
|
58
|
-
<a href="
|
58
|
+
<a href="ruby_load.html" title="8.3.23. ruby_load"
|
59
59
|
accesskey="N">next</a> |</li>
|
60
60
|
<li class="right" >
|
61
61
|
<a href="register.html" title="8.3.21. register"
|
62
62
|
accesskey="P">previous</a> |</li>
|
63
|
-
<li><a href="../../index.html">
|
63
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
64
64
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
65
|
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
66
|
</ul>
|
@@ -75,19 +75,19 @@
|
|
75
75
|
<h1>8.3.22. <tt class="docutils literal"><span class="pre">ruby_eval</span></tt><a class="headerlink" href="#ruby-eval" title="Permalink to this headline">¶</a></h1>
|
76
76
|
<div class="section" id="summary">
|
77
77
|
<h2>8.3.22.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
|
-
<p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> command evaluates
|
78
|
+
<p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> command evaluates Ruby script and returns the result.</p>
|
79
79
|
</div>
|
80
80
|
<div class="section" id="syntax">
|
81
81
|
<h2>8.3.22.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
82
82
|
<p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> has one required parameter:</p>
|
83
|
-
<div class="highlight-none"><div class="highlight"><pre>ruby_eval
|
83
|
+
<div class="highlight-none"><div class="highlight"><pre>ruby_eval script
|
84
84
|
</pre></div>
|
85
85
|
</div>
|
86
86
|
</div>
|
87
87
|
<div class="section" id="usage">
|
88
88
|
<h2>8.3.22.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
89
89
|
<p>You can execute any scripts which mruby supports by calling <tt class="docutils literal"><span class="pre">ruby_eval</span></tt>.</p>
|
90
|
-
<p>Here is an example that just calculate <tt class="docutils literal"><span class="pre">1</span> <span class="pre">+</span> <span class="pre">2</span></tt>
|
90
|
+
<p>Here is an example that just calculate <tt class="docutils literal"><span class="pre">1</span> <span class="pre">+</span> <span class="pre">2</span></tt> as Ruby script.</p>
|
91
91
|
<p>Execution example:</p>
|
92
92
|
<div class="highlight-none"><div class="highlight"><pre>register ruby/eval
|
93
93
|
# [[0, 1337566253.89858, 0.000355720520019531], true]
|
@@ -102,42 +102,26 @@ and the specification may be changed in the future.</p>
|
|
102
102
|
<div class="section" id="parameters">
|
103
103
|
<h2>8.3.22.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
104
104
|
<p>This section describes all parameters.</p>
|
105
|
-
<div class="section" id="
|
106
|
-
<h3>8.3.22.4.1. <tt class="docutils literal"><span class="pre">
|
107
|
-
<p>It specifies the
|
105
|
+
<div class="section" id="script">
|
106
|
+
<h3>8.3.22.4.1. <tt class="docutils literal"><span class="pre">script</span></tt><a class="headerlink" href="#script" title="Permalink to this headline">¶</a></h3>
|
107
|
+
<p>It specifies the Ruby script which you want to evaluate.</p>
|
108
108
|
</div>
|
109
109
|
</div>
|
110
110
|
<div class="section" id="return-value">
|
111
111
|
<h2>8.3.22.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
112
|
-
<p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> returns the evaluated result
|
113
|
-
|
112
|
+
<p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> returns the evaluated result with metadata such as
|
113
|
+
exception information (Including metadata isn't implemented yet):</p>
|
114
|
+
<div class="highlight-none"><div class="highlight"><pre>[HEADER, {"value": EVALUATED_VALUE}]
|
114
115
|
</pre></div>
|
115
116
|
</div>
|
116
117
|
<p><tt class="docutils literal"><span class="pre">HEADER</span></tt></p>
|
117
118
|
<blockquote>
|
118
119
|
<div>See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about <tt class="docutils literal"><span class="pre">HEADER</span></tt>.</div></blockquote>
|
119
|
-
<p><tt class="docutils literal"><span class="pre">
|
120
|
+
<p><tt class="docutils literal"><span class="pre">EVALUATED_VALUE</span></tt></p>
|
120
121
|
<blockquote>
|
121
|
-
<div><p><tt class="docutils literal"><span class="pre">
|
122
|
-
<
|
123
|
-
|
124
|
-
<col width="50%" />
|
125
|
-
<col width="50%" />
|
126
|
-
</colgroup>
|
127
|
-
<thead valign="bottom">
|
128
|
-
<tr class="row-odd"><th class="head">Name</th>
|
129
|
-
<th class="head">Description</th>
|
130
|
-
</tr>
|
131
|
-
</thead>
|
132
|
-
<tbody valign="top">
|
133
|
-
<tr class="row-even"><td><tt class="docutils literal"><span class="pre">key</span></tt></td>
|
134
|
-
<td>reserved word 'value'.</td>
|
135
|
-
</tr>
|
136
|
-
<tr class="row-odd"><td><tt class="docutils literal"><span class="pre">value</span></tt></td>
|
137
|
-
<td>the value of evaluated script. It must be a number.</td>
|
138
|
-
</tr>
|
139
|
-
</tbody>
|
140
|
-
</table>
|
122
|
+
<div><p><tt class="docutils literal"><span class="pre">EVALUATED_VALUE</span></tt> is the evaludated value of <tt class="docutils literal"><span class="pre">ruby_script</span></tt>.</p>
|
123
|
+
<p><tt class="docutils literal"><span class="pre">ruby_eval</span></tt> supports only a number for evaluated value for now.
|
124
|
+
Supported types will be increased in the future.</p>
|
141
125
|
</div></blockquote>
|
142
126
|
</div>
|
143
127
|
<div class="section" id="see-also">
|
@@ -158,7 +142,7 @@ and the specification may be changed in the future.</p>
|
|
158
142
|
<li><a class="reference internal" href="#syntax">8.3.22.2. Syntax</a></li>
|
159
143
|
<li><a class="reference internal" href="#usage">8.3.22.3. Usage</a></li>
|
160
144
|
<li><a class="reference internal" href="#parameters">8.3.22.4. Parameters</a><ul>
|
161
|
-
<li><a class="reference internal" href="#
|
145
|
+
<li><a class="reference internal" href="#script">8.3.22.4.1. <tt class="docutils literal"><span class="pre">script</span></tt></a></li>
|
162
146
|
</ul>
|
163
147
|
</li>
|
164
148
|
<li><a class="reference internal" href="#return-value">8.3.22.5. Return value</a></li>
|
@@ -171,8 +155,8 @@ and the specification may be changed in the future.</p>
|
|
171
155
|
<p class="topless"><a href="register.html"
|
172
156
|
title="previous chapter">8.3.21. register</a></p>
|
173
157
|
<h4>Next topic</h4>
|
174
|
-
<p class="topless"><a href="
|
175
|
-
title="next chapter">8.3.23. <tt class="docutils literal"><span class="pre">
|
158
|
+
<p class="topless"><a href="ruby_load.html"
|
159
|
+
title="next chapter">8.3.23. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a></p>
|
176
160
|
<h3>This Page</h3>
|
177
161
|
<ul class="this-page-menu">
|
178
162
|
<li><a href="../../_sources/reference/commands/ruby_eval.txt"
|
@@ -202,12 +186,12 @@ and the specification may be changed in the future.</p>
|
|
202
186
|
<a href="../../genindex.html" title="General Index"
|
203
187
|
>index</a></li>
|
204
188
|
<li class="right" >
|
205
|
-
<a href="
|
189
|
+
<a href="ruby_load.html" title="8.3.23. ruby_load"
|
206
190
|
>next</a> |</li>
|
207
191
|
<li class="right" >
|
208
192
|
<a href="register.html" title="8.3.21. register"
|
209
193
|
>previous</a> |</li>
|
210
|
-
<li><a href="../../index.html">
|
194
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
211
195
|
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
212
196
|
<li><a href="../command.html" >8.3. Command</a> »</li>
|
213
197
|
</ul>
|
@@ -0,0 +1,196 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
7
|
+
<head>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
|
+
|
10
|
+
<title>8.3.23. ruby_load — Groonga v3.0.9 documentation</title>
|
11
|
+
|
12
|
+
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
|
13
|
+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
|
14
|
+
|
15
|
+
<script type="text/javascript">
|
16
|
+
var DOCUMENTATION_OPTIONS = {
|
17
|
+
URL_ROOT: '../../',
|
18
|
+
VERSION: '3.0.9',
|
19
|
+
COLLAPSE_INDEX: false,
|
20
|
+
FILE_SUFFIX: '.html',
|
21
|
+
HAS_SOURCE: true
|
22
|
+
};
|
23
|
+
</script>
|
24
|
+
<script type="text/javascript" src="../../_static/jquery.js"></script>
|
25
|
+
<script type="text/javascript" src="../../_static/underscore.js"></script>
|
26
|
+
<script type="text/javascript" src="../../_static/doctools.js"></script>
|
27
|
+
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
|
28
|
+
<link rel="top" title="Groonga v3.0.9 documentation" href="../../index.html" />
|
29
|
+
<link rel="up" title="8.3. Command" href="../command.html" />
|
30
|
+
<link rel="next" title="8.3.24. select" href="select.html" />
|
31
|
+
<link rel="prev" title="8.3.22. ruby_eval" href="ruby_eval.html" />
|
32
|
+
</head>
|
33
|
+
<body>
|
34
|
+
<div class="header">
|
35
|
+
<h1 class="title">
|
36
|
+
<a id="top-link" href="../../index.html">
|
37
|
+
<span class="project">groonga</span>
|
38
|
+
<span class="separator">-</span>
|
39
|
+
<span class="description">An open-source fulltext search engine and column store.</span>
|
40
|
+
</a>
|
41
|
+
</h1>
|
42
|
+
|
43
|
+
<div class="other-language-links">
|
44
|
+
<ul>
|
45
|
+
<li><a href="../../../../ja/html/reference/commands/ruby_load.html"><img src="../../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
|
46
|
+
</ul>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
|
51
|
+
<div class="related">
|
52
|
+
<h3>Navigation</h3>
|
53
|
+
<ul>
|
54
|
+
<li class="right" style="margin-right: 10px">
|
55
|
+
<a href="../../genindex.html" title="General Index"
|
56
|
+
accesskey="I">index</a></li>
|
57
|
+
<li class="right" >
|
58
|
+
<a href="select.html" title="8.3.24. select"
|
59
|
+
accesskey="N">next</a> |</li>
|
60
|
+
<li class="right" >
|
61
|
+
<a href="ruby_eval.html" title="8.3.22. ruby_eval"
|
62
|
+
accesskey="P">previous</a> |</li>
|
63
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
64
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
65
|
+
<li><a href="../command.html" accesskey="U">8.3. Command</a> »</li>
|
66
|
+
</ul>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<div class="document">
|
70
|
+
<div class="documentwrapper">
|
71
|
+
<div class="bodywrapper">
|
72
|
+
<div class="body">
|
73
|
+
|
74
|
+
<div class="section" id="ruby-load">
|
75
|
+
<h1>8.3.23. <tt class="docutils literal"><span class="pre">ruby_load</span></tt><a class="headerlink" href="#ruby-load" title="Permalink to this headline">¶</a></h1>
|
76
|
+
<div class="section" id="summary">
|
77
|
+
<h2>8.3.23.1. Summary<a class="headerlink" href="#summary" title="Permalink to this headline">¶</a></h2>
|
78
|
+
<p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> command loads specified Ruby script.</p>
|
79
|
+
</div>
|
80
|
+
<div class="section" id="syntax">
|
81
|
+
<h2>8.3.23.2. Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h2>
|
82
|
+
<p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> has one required parameter:</p>
|
83
|
+
<div class="highlight-none"><div class="highlight"><pre>ruby_load path
|
84
|
+
</pre></div>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
<div class="section" id="usage">
|
88
|
+
<h2>8.3.23.3. Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
89
|
+
<p>You can load any script file which mruby supports by calling <tt class="docutils literal"><span class="pre">ruby_load</span></tt>.</p>
|
90
|
+
<p>Here is an example that just load <tt class="docutils literal"><span class="pre">expression.rb</span></tt> as Ruby script.</p>
|
91
|
+
<p>Register <tt class="docutils literal"><span class="pre">ruby/load</span></tt> plugin to use <tt class="docutils literal"><span class="pre">ruby_load</span></tt> command in advance.</p>
|
92
|
+
<p>Note that <tt class="docutils literal"><span class="pre">ruby_load</span></tt> is implemented as an experimental plugin,
|
93
|
+
and the specification may be changed in the future.</p>
|
94
|
+
</div>
|
95
|
+
<div class="section" id="parameters">
|
96
|
+
<h2>8.3.23.4. Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
|
97
|
+
<p>This section describes all parameters.</p>
|
98
|
+
<div class="section" id="path">
|
99
|
+
<h3>8.3.23.4.1. <tt class="docutils literal"><span class="pre">path</span></tt><a class="headerlink" href="#path" title="Permalink to this headline">¶</a></h3>
|
100
|
+
<p>It specifies the Ruby script path which you want to load.</p>
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
<div class="section" id="return-value">
|
104
|
+
<h2>8.3.23.5. Return value<a class="headerlink" href="#return-value" title="Permalink to this headline">¶</a></h2>
|
105
|
+
<p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> returns the loaded result with metadata such as
|
106
|
+
exception information (Including metadata isn't implemented yet):</p>
|
107
|
+
<div class="highlight-none"><div class="highlight"><pre>[HEADER, {"value": LOADED_VALUE}]
|
108
|
+
</pre></div>
|
109
|
+
</div>
|
110
|
+
<p><tt class="docutils literal"><span class="pre">HEADER</span></tt></p>
|
111
|
+
<blockquote>
|
112
|
+
<div>See <a class="reference internal" href="../command/output_format.html"><em>Output format</em></a> about <tt class="docutils literal"><span class="pre">HEADER</span></tt>.</div></blockquote>
|
113
|
+
<p><tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt></p>
|
114
|
+
<blockquote>
|
115
|
+
<div><p><tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt> is the loaded value of ruby script.</p>
|
116
|
+
<p><tt class="docutils literal"><span class="pre">ruby_load</span></tt> just return <tt class="docutils literal"><span class="pre">null</span></tt> as <tt class="docutils literal"><span class="pre">LOADED_VALUE</span></tt> for now, it will be supported in the future.</p>
|
117
|
+
</div></blockquote>
|
118
|
+
</div>
|
119
|
+
<div class="section" id="see-also">
|
120
|
+
<h2>8.3.23.6. See also<a class="headerlink" href="#see-also" title="Permalink to this headline">¶</a></h2>
|
121
|
+
<p><a class="reference internal" href="ruby_eval.html"><em>ruby_eval</em></a></p>
|
122
|
+
</div>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
<div class="sphinxsidebar">
|
130
|
+
<div class="sphinxsidebarwrapper">
|
131
|
+
<h3><a href="../../index.html">Table Of Contents</a></h3>
|
132
|
+
<ul>
|
133
|
+
<li><a class="reference internal" href="#">8.3.23. <tt class="docutils literal"><span class="pre">ruby_load</span></tt></a><ul>
|
134
|
+
<li><a class="reference internal" href="#summary">8.3.23.1. Summary</a></li>
|
135
|
+
<li><a class="reference internal" href="#syntax">8.3.23.2. Syntax</a></li>
|
136
|
+
<li><a class="reference internal" href="#usage">8.3.23.3. Usage</a></li>
|
137
|
+
<li><a class="reference internal" href="#parameters">8.3.23.4. Parameters</a><ul>
|
138
|
+
<li><a class="reference internal" href="#path">8.3.23.4.1. <tt class="docutils literal"><span class="pre">path</span></tt></a></li>
|
139
|
+
</ul>
|
140
|
+
</li>
|
141
|
+
<li><a class="reference internal" href="#return-value">8.3.23.5. Return value</a></li>
|
142
|
+
<li><a class="reference internal" href="#see-also">8.3.23.6. See also</a></li>
|
143
|
+
</ul>
|
144
|
+
</li>
|
145
|
+
</ul>
|
146
|
+
|
147
|
+
<h4>Previous topic</h4>
|
148
|
+
<p class="topless"><a href="ruby_eval.html"
|
149
|
+
title="previous chapter">8.3.22. <tt class="docutils literal docutils literal docutils literal docutils literal"><span class="pre">ruby_eval</span></tt></a></p>
|
150
|
+
<h4>Next topic</h4>
|
151
|
+
<p class="topless"><a href="select.html"
|
152
|
+
title="next chapter">8.3.24. <tt class="docutils literal"><span class="pre">select</span></tt></a></p>
|
153
|
+
<h3>This Page</h3>
|
154
|
+
<ul class="this-page-menu">
|
155
|
+
<li><a href="../../_sources/reference/commands/ruby_load.txt"
|
156
|
+
rel="nofollow">Show Source</a></li>
|
157
|
+
</ul>
|
158
|
+
<div id="searchbox" style="display: none">
|
159
|
+
<h3>Quick search</h3>
|
160
|
+
<form class="search" action="../../search.html" method="get">
|
161
|
+
<input type="text" name="q" />
|
162
|
+
<input type="submit" value="Go" />
|
163
|
+
<input type="hidden" name="check_keywords" value="yes" />
|
164
|
+
<input type="hidden" name="area" value="default" />
|
165
|
+
</form>
|
166
|
+
<p class="searchtip" style="font-size: 90%">
|
167
|
+
Enter search terms or a module, class or function name.
|
168
|
+
</p>
|
169
|
+
</div>
|
170
|
+
<script type="text/javascript">$('#searchbox').show(0);</script>
|
171
|
+
</div>
|
172
|
+
</div>
|
173
|
+
<div class="clearer"></div>
|
174
|
+
</div>
|
175
|
+
<div class="related">
|
176
|
+
<h3>Navigation</h3>
|
177
|
+
<ul>
|
178
|
+
<li class="right" style="margin-right: 10px">
|
179
|
+
<a href="../../genindex.html" title="General Index"
|
180
|
+
>index</a></li>
|
181
|
+
<li class="right" >
|
182
|
+
<a href="select.html" title="8.3.24. select"
|
183
|
+
>next</a> |</li>
|
184
|
+
<li class="right" >
|
185
|
+
<a href="ruby_eval.html" title="8.3.22. ruby_eval"
|
186
|
+
>previous</a> |</li>
|
187
|
+
<li><a href="../../index.html">Groonga v3.0.9 documentation</a> »</li>
|
188
|
+
<li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li>
|
189
|
+
<li><a href="../command.html" >8.3. Command</a> »</li>
|
190
|
+
</ul>
|
191
|
+
</div>
|
192
|
+
<div class="footer">
|
193
|
+
© Copyright 2009-2013, Brazil, Inc.
|
194
|
+
</div>
|
195
|
+
</body>
|
196
|
+
</html>
|