rroonga 3.0.2-x86-mingw32 → 3.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.
- data/doc/text/news.textile +30 -1
- data/ext/groonga/extconf.rb +49 -26
- data/ext/groonga/rb-grn-array.c +56 -1
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-exception.c +3 -3
- data/ext/groonga/rb-grn-expression.c +14 -9
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-operator.c +10 -3
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-table.c +71 -25
- data/ext/groonga/rb-grn-utils.c +3 -1
- data/ext/groonga/rb-grn-variable.c +17 -4
- data/ext/groonga/rb-grn.h +2 -1
- data/lib/1.9/groonga.so +0 -0
- data/lib/2.0/groonga.so +0 -0
- data/lib/groonga/record.rb +9 -2
- data/lib/groonga/sub-records.rb +62 -0
- data/rroonga-build.rb +2 -1
- data/rroonga.gemspec +1 -1
- data/test/test-array.rb +35 -0
- data/test/test-context.rb +2 -1
- data/test/test-database.rb +2 -1
- data/test/test-expression.rb +14 -4
- data/test/test-sub-records.rb +109 -0
- data/test/test-table.rb +104 -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.exe +0 -0
- data/vendor/local/include/groonga/groonga.h +20 -2
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +1 -1
- 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 +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +3 -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 +43 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenize.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +75 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +14 -6
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/sub_filter.txt +28 -17
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/data.txt +5 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/micro_blog.txt +19 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/network.txt +5 -1
- 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/document.html +5 -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 +6 -6
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +11 -10
- data/vendor/local/share/doc/groonga/en/html/install.html +5 -5
- 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 +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +8 -8
- 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 +187 -137
- 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 +11 -10
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/command.html +5 -5
- 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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +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 +16 -6
- 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/select.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +514 -7
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grntest.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/function.html +11 -10
- 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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +231 -0
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +55 -49
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +53 -44
- 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 +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +10 -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 +8 -8
- 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 +29 -11
- data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +17 -12
- 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/release.txt +1 -1
- 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 +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +3 -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 +43 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenize.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +75 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +14 -6
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/sub_filter.txt +28 -17
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/data.txt +5 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/micro_blog.txt +19 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/network.txt +5 -1
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +11 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +25 -15
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +9 -7
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +21 -13
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/index.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/install.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +38 -23
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +14 -11
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +15 -10
- data/vendor/local/share/doc/groonga/ja/html/news.html +885 -481
- data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +280 -146
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +17 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +9 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +9 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +17 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +12 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +33 -19
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +43 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +558 -75
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +9 -7
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grntest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +10 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/function.html +11 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +11 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +231 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +55 -50
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +39 -33
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +53 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +15 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +23 -14
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +13 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +11 -8
- data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +15 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +41 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +83 -46
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +41 -23
- data/vendor/local/share/doc/groonga/ja/html/spec.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +71 -38
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +55 -30
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +33 -19
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +19 -12
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +27 -16
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +17 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +24 -16
- data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +31 -11
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +16 -12
- data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +5 -5
- data/vendor/local/share/man/ja/man1/groonga.1 +847 -160
- data/vendor/local/share/man/man1/groonga.1 +826 -97
- metadata +10 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/bin/mecab.exe
CHANGED
Binary file
|
@@ -2726,6 +2726,22 @@ GRN_API grn_table_sort_key *grn_table_sort_key_from_str(grn_ctx *ctx,
|
|
2726
2726
|
GRN_API grn_rc grn_table_sort_key_close(grn_ctx *ctx,
|
2727
2727
|
grn_table_sort_key *keys, unsigned int nkeys);
|
2728
2728
|
|
2729
|
+
GRN_API grn_bool grn_table_is_grouped(grn_ctx *ctx, grn_obj *table);
|
2730
|
+
|
2731
|
+
GRN_API unsigned int grn_table_max_n_subrecs(grn_ctx *ctx, grn_obj *table);
|
2732
|
+
|
2733
|
+
GRN_API grn_obj *grn_table_create_for_group(grn_ctx *ctx,
|
2734
|
+
const char *name,
|
2735
|
+
unsigned int name_size,
|
2736
|
+
const char *path,
|
2737
|
+
grn_obj *group_key,
|
2738
|
+
grn_obj *value_type,
|
2739
|
+
unsigned int max_n_subrecs);
|
2740
|
+
|
2741
|
+
GRN_API unsigned int grn_table_get_subrecs(grn_ctx *ctx, grn_obj *table,
|
2742
|
+
grn_id id, grn_id *subrecbuf,
|
2743
|
+
int *scorebuf, int buf_size);
|
2744
|
+
|
2729
2745
|
GRN_API grn_rc grn_load(grn_ctx *ctx, grn_content_type input_type,
|
2730
2746
|
const char *table, unsigned int table_len,
|
2731
2747
|
const char *columns, unsigned int columns_len,
|
@@ -2844,6 +2860,7 @@ GRN_API grn_id grn_array_pull(grn_ctx *ctx, grn_array *array, grn_bool blockp,
|
|
2844
2860
|
void (*func)(grn_ctx *ctx, grn_array *array,
|
2845
2861
|
grn_id id, void *func_arg),
|
2846
2862
|
void *func_arg);
|
2863
|
+
GRN_API void grn_array_unblock(grn_ctx *ctx, grn_array *array);
|
2847
2864
|
GRN_API int grn_array_get_value(grn_ctx *ctx, grn_array *array, grn_id id, void *valuebuf);
|
2848
2865
|
GRN_API grn_rc grn_array_set_value(grn_ctx *ctx, grn_array *array, grn_id id,
|
2849
2866
|
const void *value, int flags);
|
@@ -3008,10 +3025,11 @@ GRN_API grn_rc grn_dat_cursor_delete(grn_ctx *ctx, grn_dat_cursor *c,
|
|
3008
3025
|
grn_dat_cursor *_sc = grn_dat_cursor_open(ctx, dat, NULL, 0, NULL, 0, 0, -1, 0);\
|
3009
3026
|
if (_sc) {\
|
3010
3027
|
grn_id id;\
|
3011
|
-
int *_ks = (key_size);\
|
3028
|
+
unsigned int *_ks = (key_size);\
|
3012
3029
|
if (_ks) {\
|
3013
3030
|
while ((id = grn_dat_cursor_next(ctx, _sc))) {\
|
3014
|
-
|
3031
|
+
int _ks_raw = grn_dat_cursor_get_key(ctx, _sc, (const void **)(key));\
|
3032
|
+
*(_ks) = (unsigned int)_ks_raw;\
|
3015
3033
|
block\
|
3016
3034
|
}\
|
3017
3035
|
} else {\
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/vendor/local/lib/libmecab.a
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -11,10 +11,10 @@ pluginsdir=${libdir}/groonga/plugins
|
|
11
11
|
groonga=${bindir}/groonga.exe
|
12
12
|
groonga_httpd=${sbindir}/groonga-httpd.exe
|
13
13
|
groonga_suggest_create_dataset=${bindir}/groonga-suggest-create-dataset.exe
|
14
|
-
groonga_version=3.0.
|
14
|
+
groonga_version=3.0.5
|
15
15
|
|
16
16
|
Name: Groonga
|
17
17
|
Description: An Embeddable Fulltext Search Engine
|
18
|
-
Version: 3.0.
|
18
|
+
Version: 3.0.5
|
19
19
|
Libs: -L${libdir} -lgroonga
|
20
20
|
Cflags: -I${includedir}/groonga
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
1
|
# Sphinx build info version 1
|
2
2
|
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
|
3
|
-
config:
|
3
|
+
config: b5c02ef72bf18bdf3558ffe24533fa3e
|
4
4
|
tags: a205e9ed8462ae86fdd2f73488852ba9
|
@@ -153,9 +153,9 @@ Install required packages to build groonga::
|
|
153
153
|
|
154
154
|
Download source::
|
155
155
|
|
156
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
157
|
-
% tar xvzf groonga-3.0.
|
158
|
-
% cd groonga-3.0.
|
156
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.5.tar.gz
|
157
|
+
% tar xvzf groonga-3.0.5.tar.gz
|
158
|
+
% cd groonga-3.0.5
|
159
159
|
|
160
160
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
161
161
|
|
@@ -185,9 +185,9 @@ Install required packages to build groonga::
|
|
185
185
|
|
186
186
|
Download source::
|
187
187
|
|
188
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
189
|
-
% tar xvzf groonga-3.0.
|
190
|
-
% cd groonga-3.0.
|
188
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.5.tar.gz
|
189
|
+
% tar xvzf groonga-3.0.5.tar.gz
|
190
|
+
% cd groonga-3.0.5
|
191
191
|
|
192
192
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
193
193
|
|
@@ -82,9 +82,9 @@ Install required packages to build groonga::
|
|
82
82
|
|
83
83
|
Download source::
|
84
84
|
|
85
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
86
|
-
% tar xvzf groonga-3.0.
|
87
|
-
% cd groonga-3.0.
|
85
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.5.tar.gz
|
86
|
+
% tar xvzf groonga-3.0.5.tar.gz
|
87
|
+
% cd groonga-3.0.5
|
88
88
|
|
89
89
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
90
90
|
|
@@ -40,9 +40,9 @@ Install `Xcode <https://developer.apple.com/xcode/>`_.
|
|
40
40
|
|
41
41
|
Download source::
|
42
42
|
|
43
|
-
% curl -O http://packages.groonga.org/source/groonga/groonga-3.0.
|
44
|
-
% tar xvzf groonga-3.0.
|
45
|
-
% cd groonga-3.0.
|
43
|
+
% curl -O http://packages.groonga.org/source/groonga/groonga-3.0.5.tar.gz
|
44
|
+
% tar xvzf groonga-3.0.5.tar.gz
|
45
|
+
% cd groonga-3.0.5
|
46
46
|
|
47
47
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
48
48
|
|
@@ -74,9 +74,9 @@ Build from source
|
|
74
74
|
Groonga uses GNU build system. So the following is the simplest build
|
75
75
|
steps::
|
76
76
|
|
77
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
78
|
-
% tar xvzf groonga-3.0.
|
79
|
-
% cd groonga-3.0.
|
77
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.5.tar.gz
|
78
|
+
% tar xvzf groonga-3.0.5.tar.gz
|
79
|
+
% cd groonga-3.0.5
|
80
80
|
% ./configure
|
81
81
|
% make
|
82
82
|
% sudo make install
|
@@ -17,9 +17,9 @@ Install required packages to build groonga::
|
|
17
17
|
|
18
18
|
Download source::
|
19
19
|
|
20
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
21
|
-
% gtar xvzf groonga-3.0.
|
22
|
-
% cd groonga-3.0.
|
20
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.5.tar.gz
|
21
|
+
% gtar xvzf groonga-3.0.5.tar.gz
|
22
|
+
% cd groonga-3.0.5
|
23
23
|
|
24
24
|
Configure with ``CFLAGS="-m64" CXXFLAGS="-m64"`` variables. They are
|
25
25
|
needed for building 64-bit version. To build 32-bit version, just
|
@@ -213,9 +213,9 @@ Install required packages to build groonga::
|
|
213
213
|
|
214
214
|
Download source::
|
215
215
|
|
216
|
-
% wget http://packages.groonga.org/source/groonga/groonga-3.0.
|
217
|
-
% tar xvzf groonga-3.0.
|
218
|
-
% cd groonga-3.0.
|
216
|
+
% wget http://packages.groonga.org/source/groonga/groonga-3.0.5.tar.gz
|
217
|
+
% tar xvzf groonga-3.0.5.tar.gz
|
218
|
+
% cd groonga-3.0.5
|
219
219
|
|
220
220
|
Configure (see :ref:`source-configure` about ``configure`` options)::
|
221
221
|
|
@@ -23,7 +23,7 @@ You can download such a binary by command line operation.
|
|
23
23
|
|
24
24
|
Start command prompt ``cmd.exe`` and download x86 executable binary by default browser::
|
25
25
|
|
26
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
26
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x86.exe
|
27
27
|
|
28
28
|
Then run it.
|
29
29
|
|
@@ -32,7 +32,7 @@ For 64-bit environment, download x64 executable binary from packages.groonga.org
|
|
32
32
|
|
33
33
|
Start command prompt ``cmd.exe`` and download x64 executable binary by default browser::
|
34
34
|
|
35
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
35
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x64.exe
|
36
36
|
|
37
37
|
Then run it.
|
38
38
|
|
@@ -47,7 +47,7 @@ You can download such a binary by command line operation.
|
|
47
47
|
|
48
48
|
Start command prompt ``cmd.exe`` and download x86 zip archive by default browser::
|
49
49
|
|
50
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
50
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x86.zip
|
51
51
|
|
52
52
|
Then extract it.
|
53
53
|
|
@@ -55,7 +55,7 @@ For 64-bit environment, download x64 zip archive from packages.groonga.org.
|
|
55
55
|
|
56
56
|
Start command prompt ``cmd.exe`` and download x64 zip archive by default browser::
|
57
57
|
|
58
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.
|
58
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x64.zip
|
59
59
|
|
60
60
|
Then extract it.
|
61
61
|
|
@@ -79,27 +79,27 @@ Start ``Visual Studio Command Prompt (2010)`` installed by Microsoft
|
|
79
79
|
Visual Studio 2010 Express and download it by default browser::
|
80
80
|
|
81
81
|
> cd c:\Users\%USERNAME%\Downloads
|
82
|
-
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.
|
82
|
+
> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.5.zip
|
83
83
|
|
84
84
|
Then extract it.
|
85
85
|
|
86
86
|
Move to the groonga's source folder::
|
87
87
|
|
88
|
-
> cd c:\Users\%USERNAME%\Downloads\groonga-3.0.
|
88
|
+
> cd c:\Users\%USERNAME%\Downloads\groonga-3.0.5
|
89
89
|
|
90
90
|
Configure by ``cmake``. The following commnad line is for 64-bit
|
91
91
|
version. To build 32-bit version, use ``-G "Visual Studio 10"``
|
92
92
|
parameter instead::
|
93
93
|
|
94
|
-
groonga-3.0.
|
94
|
+
groonga-3.0.5> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga
|
95
95
|
|
96
96
|
Build::
|
97
97
|
|
98
|
-
groonga-3.0.
|
98
|
+
groonga-3.0.5> cmake --build . --config Release
|
99
99
|
|
100
100
|
Install::
|
101
101
|
|
102
|
-
groonga-3.0.
|
102
|
+
groonga-3.0.5> cmake --build . --config Release --target Install
|
103
103
|
|
104
104
|
After the above steps, :doc:`/reference/executables/groonga` is found in
|
105
105
|
``c:\groonga\bin\groonga.exe``.
|
@@ -5,6 +5,47 @@
|
|
5
5
|
News
|
6
6
|
====
|
7
7
|
|
8
|
+
.. _release-3-0-5:
|
9
|
+
|
10
|
+
Release 3.0.5 - 2013/06/29
|
11
|
+
--------------------------
|
12
|
+
|
13
|
+
Improvements
|
14
|
+
^^^^^^^^^^^^
|
15
|
+
|
16
|
+
* [doc] Added summary about ``match_column`` and ``query_string`` parameters in ``query()``.
|
17
|
+
* Added subrecord information to table inspection.
|
18
|
+
* Supported single quoted string literal in ``output_columns`` expression.
|
19
|
+
This means that "XXX, '...'" expression is supported.
|
20
|
+
* [doc] Added notification about root privileges and well known port
|
21
|
+
when starting groonga server. [Reported by Kosuke Asami]
|
22
|
+
* [experimental] Added :doc:`/reference/functions/html_untag` function.
|
23
|
+
|
24
|
+
Fixes
|
25
|
+
^^^^^
|
26
|
+
|
27
|
+
* Fixed a crash bug of mroonga which is caused by missing lock for table creation.
|
28
|
+
[Reported by Y.Kentaro]
|
29
|
+
* Fixed a lot of compilation warnings by clang and gcc.
|
30
|
+
* Fixed a bug that ``sub_filter(...)`` is ignored if you use "XXX && sub_filter(...)"
|
31
|
+
expression.
|
32
|
+
* Fixed a bug that wrong tag name is used in XML output.
|
33
|
+
This bug affects the case if you use "REFERENCE_VECTOR_COLUMN._key" expression
|
34
|
+
for ``output_columns``. Reference column isn't contained in XML ouput.
|
35
|
+
* [doc] Fixed wrong arguments in ``sub_filter()`` documentation.
|
36
|
+
* [deb] Fixed a bug that status action returns wrong exit code
|
37
|
+
when services are stopped. [GitHub#62] [Patch by @orangain]
|
38
|
+
* Fixed a bug that the value of arithmetic operation is broken.
|
39
|
+
This bug affects the case if you assign calculated value to
|
40
|
+
``_score`` pseudo column for example.
|
41
|
+
|
42
|
+
Thanks
|
43
|
+
^^^^^^
|
44
|
+
|
45
|
+
* Y.Kentaro
|
46
|
+
* Kosuke Asami
|
47
|
+
* @orangain
|
48
|
+
|
8
49
|
.. _release-3-0-4:
|
9
50
|
|
10
51
|
Release 3.0.4 - 2013/05/29
|
@@ -46,6 +87,7 @@ Fixes
|
|
46
87
|
[Reported by Y.Kentaro]
|
47
88
|
* Fixed a bug that daemonize process doesn't work on OS X.
|
48
89
|
[groonga-dev,01440] [Reported by Masahiro KONISHI]
|
90
|
+
* [deb] Fixed a bug that HTTP/GQTP process is excuted as root user.
|
49
91
|
|
50
92
|
Thanks
|
51
93
|
^^^^^^
|
@@ -55,6 +97,7 @@ Thanks
|
|
55
97
|
* firewood
|
56
98
|
* Y.Kentaro
|
57
99
|
* Masahiro KONISHI
|
100
|
+
* @orangain
|
58
101
|
|
59
102
|
.. _release-3-0-3:
|
60
103
|
|
@@ -155,7 +155,7 @@ Here is an example that uses ``ENABLE_TOKENIZED_DELIMITER``.
|
|
155
155
|
``TokenDelimit`` tokenizer is one of tokenized delimiter supported
|
156
156
|
tokenizer. ``ENABLE_TOKENIZED_DELIMITER`` enables tokenized delimiter.
|
157
157
|
Tokenized delimiter is special character that indicates token
|
158
|
-
border. It is
|
158
|
+
border. It is ``U+FFFE``. The character is not assigned any
|
159
159
|
character. It means that the character is not appeared in normal
|
160
160
|
string. So the character is good character for this puropose. If
|
161
161
|
``ENABLE_TOKENIZED_DELIMITER`` is enabled, the target string is
|
@@ -177,7 +177,7 @@ the feature::
|
|
177
177
|
|
178
178
|
``tokens``
|
179
179
|
|
180
|
-
|
180
|
+
``tokens`` is an array of token. Token is an object that has the following
|
181
181
|
attributes.
|
182
182
|
|
183
183
|
.. list-table::
|
@@ -0,0 +1,75 @@
|
|
1
|
+
.. -*- rst -*-
|
2
|
+
|
3
|
+
.. highlightlang:: none
|
4
|
+
|
5
|
+
.. groonga-command
|
6
|
+
.. database: functions_html_untag
|
7
|
+
|
8
|
+
html_untag
|
9
|
+
==========
|
10
|
+
|
11
|
+
Summary
|
12
|
+
-------
|
13
|
+
|
14
|
+
``html_untag`` strips HTML tags from HTML and outputs plain text.
|
15
|
+
|
16
|
+
``html_untag`` is used in ``--output_columns`` described at :doc:`/reference/commands/select`.
|
17
|
+
|
18
|
+
Syntax
|
19
|
+
------
|
20
|
+
|
21
|
+
``html_untag`` requires only one argument. It is ``column``.
|
22
|
+
|
23
|
+
::
|
24
|
+
|
25
|
+
html_untag(column)
|
26
|
+
|
27
|
+
|
28
|
+
Usage
|
29
|
+
-----
|
30
|
+
|
31
|
+
Here are a schema definition and sample data to show usage.
|
32
|
+
|
33
|
+
Sample schema:
|
34
|
+
|
35
|
+
.. groonga-command
|
36
|
+
.. include:: ../../example/reference/functions/html_untag/usage_setup_schema.log
|
37
|
+
.. table_create WebClips TABLE_NO_KEY
|
38
|
+
.. column_create WebClips url COLUMN_SCALAR ShortText
|
39
|
+
.. column_create WebClips content COLUMN_SCALAR ShortText
|
40
|
+
.. column_create WebClips tag COLUMN_VECTOR ShortText
|
41
|
+
|
42
|
+
Sample data:
|
43
|
+
|
44
|
+
.. groonga-command
|
45
|
+
.. include:: ../../example/reference/functions/html_untag/usage_setup_data.log
|
46
|
+
.. load --table WebClips
|
47
|
+
.. [
|
48
|
+
.. {"_key": 1, "url": "http://groonga.org", "tag": ["groonga"], "content": "groonga is <span class='emphasize'>fast</span>"},
|
49
|
+
.. {"_key": 2, "url": "http://mroonga.org", "tag": ["mroonga"], "content": "mroonga is <span class=\"emphasize\">fast</span>"},
|
50
|
+
.. ]
|
51
|
+
|
52
|
+
Here is the simple usage of ``html_untag`` function which strips HTML tags from content of column.
|
53
|
+
|
54
|
+
.. groonga-command
|
55
|
+
.. include:: ../../example/reference/functions/html_untag/usage_html_untag.log
|
56
|
+
.. select WebClips --output_columns "_key, html_untag(content)" --command_version 2
|
57
|
+
|
58
|
+
When executing the above query, you can see "span" tag with "class" attribute is stripped.
|
59
|
+
Note that you must specify ``--command_version 2`` to use ``html_untag`` function.
|
60
|
+
|
61
|
+
Parameters
|
62
|
+
----------
|
63
|
+
|
64
|
+
There is one required parameter, ``column``.
|
65
|
+
|
66
|
+
``column``
|
67
|
+
^^^^^^^^^^
|
68
|
+
|
69
|
+
It specifies a column of the table.
|
70
|
+
|
71
|
+
Return value
|
72
|
+
------------
|
73
|
+
|
74
|
+
``html_untag`` returns plain text which is stripped HTML tags from content of column.
|
75
|
+
|