rroonga 4.0.1-x86-mingw32 → 4.0.2-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 +25 -0
- data/ext/groonga/extconf.rb +2 -0
- data/ext/groonga/rb-grn-index-column.c +91 -0
- data/ext/groonga/rb-grn-object.c +3 -9
- data/ext/groonga/rb-grn-table.c +18 -24
- 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/dumper.rb +1 -1
- data/lib/groonga/patricia-trie.rb +4 -1
- data/lib/groonga/schema.rb +10 -4
- data/rroonga-build.rb +1 -1
- data/test/test-context.rb +8 -8
- data/test/test-database-dumper.rb +6 -6
- data/test/test-index-column.rb +9 -4
- data/test/test-schema-dumper.rb +6 -6
- data/test/test-schema.rb +32 -3
- data/vendor/local/bin/groonga-benchmark.exe +0 -0
- data/vendor/local/bin/groonga.exe +0 -0
- data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/bin/libmecab-1.dll +0 -0
- data/vendor/local/bin/libmsgpack-3.dll +0 -0
- data/vendor/local/bin/libmsgpackc-2.dll +0 -0
- data/vendor/local/bin/libstdc++-6.dll +0 -0
- data/vendor/local/bin/mecab-config +2 -2
- data/vendor/local/bin/mecab.exe +0 -0
- data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
- data/vendor/local/include/groonga/groonga/plugin.h +19 -1
- data/vendor/local/include/groonga/groonga.h +2 -1
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
- data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
- data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
- data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
- data/vendor/local/lib/libgroonga.a +0 -0
- data/vendor/local/lib/libgroonga.dll.a +0 -0
- data/vendor/local/lib/libgroonga.la +3 -3
- data/vendor/local/lib/libmecab.a +0 -0
- data/vendor/local/lib/libmecab.dll.a +0 -0
- data/vendor/local/lib/libmecab.la +1 -1
- data/vendor/local/lib/libmsgpack.a +0 -0
- data/vendor/local/lib/libmsgpack.dll.a +0 -0
- data/vendor/local/lib/libmsgpack.la +2 -2
- data/vendor/local/lib/libmsgpackc.a +0 -0
- data/vendor/local/lib/libmsgpackc.dll.a +0 -0
- data/vendor/local/lib/libmsgpackc.la +2 -2
- data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
- data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
- data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
- data/vendor/local/sbin/groonga-httpd-restart +1 -1
- data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +75 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation.txt +3 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +22 -22
- data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +10 -11
- data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +10 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +4 -4
- data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +17 -149
- data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/en/html/_sources/install.txt +3 -3
- data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +73 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/grn_column.txt +5 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/plugin.txt +26 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/column.txt +1 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_list.txt +165 -67
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/tokenizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
- data/vendor/local/share/doc/groonga/en/html/_sources/suggest/suggestion.txt +17 -0
- data/vendor/local/share/doc/groonga/en/html/characteristic.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +8 -8
- data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +13 -13
- data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +65 -65
- data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +102 -102
- data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +40 -40
- data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +16 -16
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +202 -0
- data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +12 -11
- data/vendor/local/share/doc/groonga/en/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/contribution.html +61 -60
- data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/genindex.html +53 -19
- data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/index.html +83 -87
- data/vendor/local/share/doc/groonga/en/html/install/centos.html +12 -12
- data/vendor/local/share/doc/groonga/en/html/install/debian.html +27 -27
- data/vendor/local/share/doc/groonga/en/html/install/fedora.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/others.html +15 -15
- data/vendor/local/share/doc/groonga/en/html/install/solaris.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -151
- data/vendor/local/share/doc/groonga/en/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/en/html/install.html +10 -13
- data/vendor/local/share/doc/groonga/en/html/limitations.html +5 -5
- 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/news.html +286 -209
- data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +22 -22
- 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 +29 -29
- 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 +25 -25
- 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 +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +166 -0
- data/vendor/local/share/doc/groonga/en/html/reference/api.html +36 -35
- data/vendor/local/share/doc/groonga/en/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -5
- data/vendor/local/share/doc/groonga/en/html/reference/{pseudo_column.html → columns/pseudo.html} +25 -48
- data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.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/command.html +21 -19
- 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 +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +284 -85
- data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +6 -6
- 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 +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +221 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +155 -95
- 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 +40 -40
- data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +254 -0
- data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +6 -6
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +5 -5
- 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-suggest-httpd.html +43 -18
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +48 -11
- data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.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/function.html +25 -25
- data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +38 -38
- data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +48 -48
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +44 -44
- data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +67 -65
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +20 -20
- data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/en/html/reference/log.html +24 -24
- 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/query_expanders/tsv.html +10 -10
- data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.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 +35 -35
- data/vendor/local/share/doc/groonga/en/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/en/html/reference.html +72 -74
- data/vendor/local/share/doc/groonga/en/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +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/http.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/server.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/spec.html +10 -10
- 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 +19 -5
- data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/suggest.html +6 -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/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/en/html/troubleshooting.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 +6 -6
- 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/en/html/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +75 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation.txt +3 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +1 -1
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +22 -22
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +10 -11
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +10 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +4 -4
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +17 -149
- data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
- data/vendor/local/share/doc/groonga/ja/html/_sources/install.txt +3 -3
- data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +73 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/grn_column.txt +5 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/plugin.txt +26 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/column.txt +1 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/{pseudo_column.txt → columns/pseudo.txt} +0 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_list.txt +165 -67
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +2 -2
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/tokenizer_list.txt +65 -0
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +28 -10
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-learner.txt +38 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/query_syntax.txt +8 -5
- data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/suggestion.txt +17 -0
- data/vendor/local/share/doc/groonga/ja/html/characteristic.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/community.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +13 -13
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +65 -65
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +102 -102
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +12 -12
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +16 -16
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +15 -15
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +203 -0
- data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +12 -11
- data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/contribution.html +61 -60
- data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/development.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/genindex.html +53 -19
- data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/index.html +83 -87
- data/vendor/local/share/doc/groonga/ja/html/install/centos.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/install/debian.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +12 -9
- data/vendor/local/share/doc/groonga/ja/html/install/others.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +8 -8
- data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +27 -137
- data/vendor/local/share/doc/groonga/ja/html/install/windows.html +14 -14
- data/vendor/local/share/doc/groonga/ja/html/install.html +7 -10
- data/vendor/local/share/doc/groonga/ja/html/limitations.html +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news/senna.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/news.html +292 -210
- data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +22 -22
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +167 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/api.html +36 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/{pseudo_column.html → columns/pseudo.html} +26 -49
- data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/command.html +21 -19
- 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 +6 -6
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +296 -85
- 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 +11 -10
- 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 +5 -5
- 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 +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +225 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +23 -23
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +156 -100
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +31 -31
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +47 -47
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +27 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +29 -29
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +40 -40
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +258 -0
- data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +26 -26
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +6 -11
- 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-suggest-httpd.html +55 -27
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +48 -11
- data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.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/function.html +25 -25
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +38 -38
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +48 -48
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +32 -32
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +28 -28
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +44 -44
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +30 -30
- data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +34 -34
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +62 -61
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +138 -138
- data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +20 -20
- data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +21 -21
- data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -24
- data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/output.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +35 -35
- data/vendor/local/share/doc/groonga/ja/html/reference/types.html +9 -9
- data/vendor/local/share/doc/groonga/ja/html/reference.html +72 -74
- data/vendor/local/share/doc/groonga/ja/html/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
- data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +7 -7
- 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/http.html +6 -6
- data/vendor/local/share/doc/groonga/ja/html/server/package.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/server.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec/search.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/spec.html +10 -10
- data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +19 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/suggest.html +6 -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/troubleshooting/mmap_cannot_allocate_memory.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +5 -5
- 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 +5 -5
- 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 +5 -5
- data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +5 -5
- 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/doc/groonga/ja/html/tutorial.html +5 -5
- 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/groonga/html/admin/index.html +0 -1
- data/vendor/local/share/groonga/html/admin/js/groonga-admin.js +10 -8
- data/vendor/local/share/man/ja/man1/groonga.1 +1032 -585
- data/vendor/local/share/man/man1/groonga.1 +1051 -607
- data/vendor/local/share/mecab/dic/naist-jdic/sys.dic +0 -0
- data/vendor/local/share/mecab/dic/naist-jdic/unk.dic +0 -0
- metadata +289 -278
- data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/document.txt +0 -43
- data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +0 -184
- data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/document.txt +0 -43
- data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +0 -184
- data/vendor/local/share/groonga/html/admin/js/jquery.json-2.2.min.js +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caad59febb9d7f89183b00f84c97d47bb42daa95
|
4
|
+
data.tar.gz: 2d54b732d458ce6a88b0a3207f64c972459820b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f143344a3f6d3b9afd1885301d7d8a06fbc417568ee6075b22675b0a0ee71f93189e3dba77796beab54c86c9a30af376f3f0c35716d97283cd4d1c5f22f50647
|
7
|
+
data.tar.gz: 61e4ee7919347ba3e4060553d470f86e6c5aee1942a2d5ffe1fcf95b5337a41a6158592547b4311552ee32fe64844a9178433047373ed9951ae928c0e65d6105
|
data/doc/text/news.textile
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
h1. NEWS
|
2
2
|
|
3
|
+
h2(#4-0-2). 4.0.2: 2014-05-29
|
4
|
+
|
5
|
+
h3. Improvements
|
6
|
+
|
7
|
+
* Removed needless @--key_type@ option in dump.
|
8
|
+
[Reported by Genki Takiuchi]
|
9
|
+
* Added sources information to {Groonga::IndexColumn#inspect}.
|
10
|
+
* Enabled @with_section@ flag for multiple column index by default.
|
11
|
+
See {Groonga::Schema::TableDefinition#index}.
|
12
|
+
* Enabled @with_position@ flag for index of a table that has a default
|
13
|
+
tokenizer by default. You need to specify @:with_position => false@
|
14
|
+
explicitly to disable @with_position@ flag for @TokenDelimit@.
|
15
|
+
@TokenDelimit@ is a tokenizer that doesn't need @with_position@ flag.
|
16
|
+
See {Groonga::Schema.create_table}.
|
17
|
+
|
18
|
+
h3. Fixes
|
19
|
+
|
20
|
+
* [GitHub#16] Fixed a memory leak of {Groonga::Table#column}.
|
21
|
+
[Reported by rutice]
|
22
|
+
|
23
|
+
h3. Thanks
|
24
|
+
|
25
|
+
* rutice
|
26
|
+
* Genki Takiuchi
|
27
|
+
|
3
28
|
h2(#4-0-1). 4.0.1: 2014-04-04
|
4
29
|
|
5
30
|
h3. Improvements
|
data/ext/groonga/extconf.rb
CHANGED
@@ -103,6 +103,8 @@ def extract_zip(filename, destrination_dir)
|
|
103
103
|
end
|
104
104
|
|
105
105
|
Archive::Zip.extract(filename, destrination_dir)
|
106
|
+
rescue LoadError
|
107
|
+
system("unzip", filename, "-d", destrination_dir)
|
106
108
|
end
|
107
109
|
|
108
110
|
def extract_groonga_win32_binary(major, minor, micro)
|
@@ -102,6 +102,94 @@ rb_grn_index_column_deconstruct (RbGrnIndexColumn *rb_grn_index_column,
|
|
102
102
|
*string_query = rb_grn_index_column->string_query;
|
103
103
|
}
|
104
104
|
|
105
|
+
static VALUE
|
106
|
+
rb_grn_index_column_inspect_content (VALUE self, VALUE inspected)
|
107
|
+
{
|
108
|
+
grn_ctx *context = NULL;
|
109
|
+
grn_obj *index_column;
|
110
|
+
grn_obj source_ids;
|
111
|
+
unsigned int i, n_ids;
|
112
|
+
|
113
|
+
rb_grn_index_column_deconstruct(SELF(self), &index_column, &context,
|
114
|
+
NULL, NULL,
|
115
|
+
NULL, NULL, NULL,
|
116
|
+
NULL, NULL,
|
117
|
+
NULL, NULL);
|
118
|
+
if (!context)
|
119
|
+
return inspected;
|
120
|
+
if (!index_column)
|
121
|
+
return inspected;
|
122
|
+
|
123
|
+
GRN_UINT32_INIT(&source_ids, GRN_OBJ_VECTOR);
|
124
|
+
|
125
|
+
grn_obj_get_info(context, index_column, GRN_INFO_SOURCE, &source_ids);
|
126
|
+
n_ids = GRN_BULK_VSIZE(&source_ids) / sizeof(grn_id);
|
127
|
+
|
128
|
+
rb_str_cat2(inspected, ", ");
|
129
|
+
rb_str_cat2(inspected, "sources: ");
|
130
|
+
|
131
|
+
rb_str_cat2(inspected, "<");
|
132
|
+
for (i = 0; i < n_ids; i++) {
|
133
|
+
grn_id source_id;
|
134
|
+
grn_obj *source;
|
135
|
+
|
136
|
+
if (i > 0) {
|
137
|
+
rb_str_cat2(inspected, ",");
|
138
|
+
}
|
139
|
+
|
140
|
+
source_id = GRN_UINT32_VALUE_AT(&source_ids, i);
|
141
|
+
source = grn_ctx_at(context, source_id);
|
142
|
+
if (source) {
|
143
|
+
char source_name[GRN_TABLE_MAX_KEY_SIZE];
|
144
|
+
unsigned int source_name_size;
|
145
|
+
|
146
|
+
switch (source->header.type) {
|
147
|
+
case GRN_TABLE_HASH_KEY:
|
148
|
+
case GRN_TABLE_PAT_KEY:
|
149
|
+
case GRN_TABLE_DAT_KEY:
|
150
|
+
case GRN_TABLE_NO_KEY:
|
151
|
+
rb_str_cat2(inspected, GRN_COLUMN_NAME_KEY);
|
152
|
+
break;
|
153
|
+
default:
|
154
|
+
source_name_size =
|
155
|
+
grn_column_name(context, source,
|
156
|
+
source_name, GRN_TABLE_MAX_KEY_SIZE);
|
157
|
+
rb_str_cat(inspected, source_name, source_name_size);
|
158
|
+
break;
|
159
|
+
}
|
160
|
+
|
161
|
+
grn_obj_unlink(context, source);
|
162
|
+
} else {
|
163
|
+
rb_str_catf(inspected, "(nil:%u)", source_id);
|
164
|
+
}
|
165
|
+
}
|
166
|
+
rb_str_cat2(inspected, ">");
|
167
|
+
|
168
|
+
grn_obj_unlink(context, &source_ids);
|
169
|
+
|
170
|
+
return inspected;
|
171
|
+
}
|
172
|
+
|
173
|
+
/*
|
174
|
+
* Inspects the index column.
|
175
|
+
*
|
176
|
+
* @overload inspect
|
177
|
+
* @return [String] the inspected string.
|
178
|
+
*/
|
179
|
+
static VALUE
|
180
|
+
rb_grn_index_column_inspect (VALUE self)
|
181
|
+
{
|
182
|
+
VALUE inspected;
|
183
|
+
|
184
|
+
inspected = rb_str_new2("");
|
185
|
+
rb_grn_object_inspect_header(self, inspected);
|
186
|
+
rb_grn_object_inspect_content(self, inspected);
|
187
|
+
rb_grn_index_column_inspect_content(self, inspected);
|
188
|
+
rb_grn_object_inspect_footer(self, inspected);
|
189
|
+
|
190
|
+
return inspected;
|
191
|
+
}
|
192
|
+
|
105
193
|
/*
|
106
194
|
* Adds a record that has @value@ content to inverted index for fast
|
107
195
|
* fulltext serach. Normally, this method is not used
|
@@ -873,6 +961,9 @@ rb_grn_init_index_column (VALUE mGrn)
|
|
873
961
|
rb_cGrnIndexColumn =
|
874
962
|
rb_define_class_under(mGrn, "IndexColumn", rb_cGrnColumn);
|
875
963
|
|
964
|
+
rb_define_method(rb_cGrnIndexColumn, "inspect",
|
965
|
+
rb_grn_index_column_inspect, 0);
|
966
|
+
|
876
967
|
rb_define_method(rb_cGrnIndexColumn, "add",
|
877
968
|
rb_grn_index_column_add, -1);
|
878
969
|
rb_define_method(rb_cGrnIndexColumn, "delete",
|
data/ext/groonga/rb-grn-object.c
CHANGED
@@ -666,22 +666,16 @@ VALUE
|
|
666
666
|
rb_grn_object_inspect_object_content_name (VALUE inspected,
|
667
667
|
grn_ctx *context, grn_obj *object)
|
668
668
|
{
|
669
|
+
char name[GRN_TABLE_MAX_KEY_SIZE];
|
669
670
|
int name_size;
|
670
671
|
|
671
|
-
name_size = grn_obj_name(context, object,
|
672
|
+
name_size = grn_obj_name(context, object, name, GRN_TABLE_MAX_KEY_SIZE);
|
672
673
|
if (name_size == 0) {
|
673
674
|
rb_str_cat2(inspected, "(anonymous)");
|
674
675
|
} else {
|
675
|
-
grn_obj name;
|
676
|
-
|
677
|
-
GRN_OBJ_INIT(&name, GRN_BULK, 0, GRN_ID_NIL);
|
678
|
-
grn_bulk_space(context, &name, name_size);
|
679
|
-
grn_obj_name(context, object, GRN_BULK_HEAD(&name), name_size);
|
680
|
-
GRN_TEXT_PUTC(context, &name, '\0');
|
681
676
|
rb_str_cat2(inspected, "<");
|
682
|
-
|
677
|
+
rb_str_cat(inspected, name, name_size);
|
683
678
|
rb_str_cat2(inspected, ">");
|
684
|
-
grn_obj_unlink(context, &name);
|
685
679
|
}
|
686
680
|
|
687
681
|
return inspected;
|
data/ext/groonga/rb-grn-table.c
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2
2
|
/*
|
3
|
-
Copyright (C) 2009-
|
3
|
+
Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
|
5
5
|
This library is free software; you can redistribute it and/or
|
6
6
|
modify it under the terms of the GNU Lesser General Public
|
@@ -77,7 +77,6 @@ rb_grn_table_bind (RbGrnTable *rb_grn_table,
|
|
77
77
|
rb_grn_object = RB_GRN_OBJECT(rb_grn_table);
|
78
78
|
rb_grn_table->value = grn_obj_open(context, GRN_BULK, 0,
|
79
79
|
rb_grn_object->range_id);
|
80
|
-
rb_grn_table->columns = Qnil;
|
81
80
|
rb_grn_table->columns = rb_ary_new();
|
82
81
|
}
|
83
82
|
|
@@ -336,27 +335,6 @@ rb_grn_table_define_column (int argc, VALUE *argv, VALUE self)
|
|
336
335
|
return rb_column;
|
337
336
|
}
|
338
337
|
|
339
|
-
static grn_bool
|
340
|
-
n_gram_tokenizer_p(grn_ctx *context, grn_obj *tokenizer)
|
341
|
-
{
|
342
|
-
char tokenizer_name[GRN_TABLE_MAX_KEY_SIZE];
|
343
|
-
int name_size;
|
344
|
-
|
345
|
-
name_size = grn_obj_name(context, tokenizer,
|
346
|
-
tokenizer_name, sizeof(tokenizer_name) - 1);
|
347
|
-
if (name_size == 0)
|
348
|
-
return GRN_FALSE;
|
349
|
-
|
350
|
-
tokenizer_name[name_size] = '\0';
|
351
|
-
|
352
|
-
#define HAVE_PREFIX_P(prefix) \
|
353
|
-
(strncmp(tokenizer_name, prefix, strlen(prefix)) == 0)
|
354
|
-
return (HAVE_PREFIX_P("TokenUnigram") ||
|
355
|
-
HAVE_PREFIX_P("TokenBigram") ||
|
356
|
-
HAVE_PREFIX_P("TokenTrigram"));
|
357
|
-
#undef HAVE_PREFIX_P
|
358
|
-
}
|
359
|
-
|
360
338
|
/*
|
361
339
|
* テーブルに名前が _name_ で型が _value_type_ のインデックスカ
|
362
340
|
* ラムを定義し、新しく定義されたカラムを返す。
|
@@ -455,7 +433,7 @@ rb_grn_table_define_index_column (int argc, VALUE *argv, VALUE self)
|
|
455
433
|
tokenizer = grn_obj_get_info(context, table,
|
456
434
|
GRN_INFO_DEFAULT_TOKENIZER,
|
457
435
|
NULL);
|
458
|
-
if (tokenizer
|
436
|
+
if (tokenizer) {
|
459
437
|
rb_with_position = Qtrue;
|
460
438
|
}
|
461
439
|
}
|
@@ -639,6 +617,8 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
|
|
639
617
|
grn_id *column_id;
|
640
618
|
grn_obj *column;
|
641
619
|
VALUE rb_column;
|
620
|
+
grn_user_data *user_data;
|
621
|
+
grn_bool need_to_set_name = GRN_FALSE;
|
642
622
|
|
643
623
|
grn_table_cursor_get_key(context, cursor, &key);
|
644
624
|
column_id = key;
|
@@ -650,7 +630,21 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
|
|
650
630
|
rb_exc_raise(exception);
|
651
631
|
}
|
652
632
|
|
633
|
+
user_data = grn_obj_user_data(context, column);
|
634
|
+
if (user_data && !user_data->ptr) {
|
635
|
+
need_to_set_name = GRN_TRUE;
|
636
|
+
}
|
653
637
|
rb_column = GRNOBJECT2RVAL(Qnil, context, column, GRN_FALSE);
|
638
|
+
if (need_to_set_name) {
|
639
|
+
char name[GRN_TABLE_MAX_KEY_SIZE];
|
640
|
+
int name_size = 0;
|
641
|
+
RbGrnNamedObject *rb_grn_named_object;
|
642
|
+
name_size = grn_column_name(context, column,
|
643
|
+
name, GRN_TABLE_MAX_KEY_SIZE);
|
644
|
+
rb_grn_named_object = RB_GRN_NAMED_OBJECT(DATA_PTR(rb_column));
|
645
|
+
rb_grn_named_object_set_name(rb_grn_named_object, name, name_size);
|
646
|
+
}
|
647
|
+
|
654
648
|
rb_ary_push(rb_columns, rb_column);
|
655
649
|
}
|
656
650
|
rc = grn_table_cursor_close(context, cursor);
|
data/ext/groonga/rb-grn.h
CHANGED
data/lib/1.9/groonga.so
CHANGED
Binary file
|
data/lib/2.0/groonga.so
CHANGED
Binary file
|
data/lib/2.1/groonga.so
CHANGED
Binary file
|
data/lib/groonga/dumper.rb
CHANGED
@@ -41,7 +41,10 @@ module Groonga
|
|
41
41
|
# other_text_handler = Proc.new do |string|
|
42
42
|
# h(string)
|
43
43
|
# end
|
44
|
-
#
|
44
|
+
# options = {
|
45
|
+
# :other_text_handler => other_text_handler,
|
46
|
+
# }
|
47
|
+
# words.tag_keys(text, options) do |record, word|
|
45
48
|
# "<span class=\"keyword\">#{h(word)}(#{h(record.key)})</span>\n"
|
46
49
|
# end
|
47
50
|
# # =>
|
data/lib/groonga/schema.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2009-
|
3
|
+
# Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -962,8 +962,10 @@ module Groonga
|
|
962
962
|
# - :with_position :=
|
963
963
|
# +true+ を指定すると転置索引に出現位置情報を合わせて
|
964
964
|
# 格納する。未指定または +nil+ を指定した場合、テーブル
|
965
|
-
#
|
966
|
-
#
|
965
|
+
# がトークナイザー利用している場合は自動的に有効になる。
|
966
|
+
# +TokenDelimit+ など全文検索用ではないトークナイザーを
|
967
|
+
# 使う場合は明示的に +false+ を指定することで使用リソース
|
968
|
+
# を少なくできる。=:
|
967
969
|
def index(target_table_or_target_column_full_name, *args)
|
968
970
|
key, target_table, target_columns, options =
|
969
971
|
parse_index_argument(target_table_or_target_column_full_name, *args)
|
@@ -1305,6 +1307,7 @@ module Groonga
|
|
1305
1307
|
def parse_index_argument(target_table_or_target_column_full_name, *args)
|
1306
1308
|
options = nil
|
1307
1309
|
options = args.pop if args.last.is_a?(::Hash)
|
1310
|
+
options ||= {}
|
1308
1311
|
if args.empty?
|
1309
1312
|
target_column_full_name = target_table_or_target_column_full_name
|
1310
1313
|
if target_column_full_name.is_a?(Groonga::Column)
|
@@ -1321,7 +1324,10 @@ module Groonga
|
|
1321
1324
|
target_columns = args
|
1322
1325
|
key = [target_table_name, target_columns]
|
1323
1326
|
end
|
1324
|
-
|
1327
|
+
if target_columns.size > 1 and options[:with_section].nil?
|
1328
|
+
options[:with_section] = true
|
1329
|
+
end
|
1330
|
+
[key, target_table, target_columns, options]
|
1325
1331
|
end
|
1326
1332
|
|
1327
1333
|
def same_table?(table, options)
|
data/rroonga-build.rb
CHANGED
data/test/test-context.rb
CHANGED
@@ -132,7 +132,7 @@ class ContextTest < Test::Unit::TestCase
|
|
132
132
|
class RestoreTest < self
|
133
133
|
def test_simple
|
134
134
|
commands = <<EOD
|
135
|
-
table_create Items TABLE_HASH_KEY
|
135
|
+
table_create Items TABLE_HASH_KEY ShortText
|
136
136
|
column_create Items title COLUMN_SCALAR Text
|
137
137
|
EOD
|
138
138
|
restore(commands)
|
@@ -143,44 +143,44 @@ EOD
|
|
143
143
|
def test_continuation_lines
|
144
144
|
dumped_commands = <<-EOD
|
145
145
|
table_create Items TABLE_HASH_KEY\\
|
146
|
-
|
146
|
+
ShortText
|
147
147
|
EOD
|
148
148
|
restore(dumped_commands)
|
149
149
|
|
150
150
|
assert_equal(<<-EOC, dump)
|
151
|
-
table_create Items TABLE_HASH_KEY
|
151
|
+
table_create Items TABLE_HASH_KEY ShortText
|
152
152
|
EOC
|
153
153
|
end
|
154
154
|
|
155
155
|
def test_empty_line
|
156
156
|
restore(<<-EOC)
|
157
|
-
table_create Items TABLE_HASH_KEY
|
157
|
+
table_create Items TABLE_HASH_KEY ShortText
|
158
158
|
|
159
159
|
column_create Items title COLUMN_SCALAR Text
|
160
160
|
|
161
161
|
EOC
|
162
162
|
|
163
163
|
assert_equal(<<-EOC, dump)
|
164
|
-
table_create Items TABLE_HASH_KEY
|
164
|
+
table_create Items TABLE_HASH_KEY ShortText
|
165
165
|
column_create Items title COLUMN_SCALAR Text
|
166
166
|
EOC
|
167
167
|
end
|
168
168
|
|
169
169
|
def test_comment
|
170
170
|
restore(<<-EOC)
|
171
|
-
table_create Items TABLE_HASH_KEY
|
171
|
+
table_create Items TABLE_HASH_KEY ShortText
|
172
172
|
# column_create Items url COLUMN_SCALAR ShortText
|
173
173
|
column_create Items title COLUMN_SCALAR Text
|
174
174
|
EOC
|
175
175
|
|
176
176
|
assert_equal(<<-EOC, dump)
|
177
|
-
table_create Items TABLE_HASH_KEY
|
177
|
+
table_create Items TABLE_HASH_KEY ShortText
|
178
178
|
column_create Items title COLUMN_SCALAR Text
|
179
179
|
EOC
|
180
180
|
end
|
181
181
|
|
182
182
|
def test_block
|
183
|
-
table_create = "table_create Items TABLE_HASH_KEY
|
183
|
+
table_create = "table_create Items TABLE_HASH_KEY ShortText"
|
184
184
|
column_create = "column_create Items title COLUMN_SCALAR Text"
|
185
185
|
commands = <<-COMMANDS
|
186
186
|
#{table_create}
|
@@ -50,7 +50,7 @@ class DatabaseDumperTest < Test::Unit::TestCase
|
|
50
50
|
end
|
51
51
|
|
52
52
|
schema.change_table("Tags") do |table|
|
53
|
-
table.index("Posts.tag_text")
|
53
|
+
table.index("Posts.tag_text", :with_position => false)
|
54
54
|
end
|
55
55
|
end
|
56
56
|
end
|
@@ -88,10 +88,10 @@ column_create Posts rank COLUMN_SCALAR Int32
|
|
88
88
|
column_create Posts tag_text COLUMN_SCALAR ShortText
|
89
89
|
column_create Posts title COLUMN_SCALAR Text
|
90
90
|
|
91
|
-
table_create Tags TABLE_HASH_KEY
|
91
|
+
table_create Tags TABLE_HASH_KEY ShortText --default_tokenizer TokenDelimit
|
92
92
|
column_create Tags name COLUMN_SCALAR Text
|
93
93
|
|
94
|
-
table_create Users TABLE_HASH_KEY
|
94
|
+
table_create Users TABLE_HASH_KEY ShortText
|
95
95
|
column_create Users name COLUMN_SCALAR Text
|
96
96
|
SCHEMA
|
97
97
|
end
|
@@ -298,7 +298,7 @@ load --table Users
|
|
298
298
|
:type => :hash,
|
299
299
|
:key_type => :short_text,
|
300
300
|
:default_tokenizer => :delimit) do |table|
|
301
|
-
table.index("Posts.tag_text")
|
301
|
+
table.index("Posts.tag_text", :with_position => false)
|
302
302
|
end
|
303
303
|
end
|
304
304
|
end
|
@@ -315,7 +315,7 @@ table_create Posts TABLE_NO_KEY
|
|
315
315
|
column_create Posts tag_text COLUMN_SCALAR ShortText
|
316
316
|
column_create Posts title COLUMN_SCALAR Text
|
317
317
|
|
318
|
-
table_create Tags TABLE_HASH_KEY
|
318
|
+
table_create Tags TABLE_HASH_KEY ShortText --default_tokenizer TokenDelimit
|
319
319
|
|
320
320
|
load --table Posts
|
321
321
|
[
|
@@ -346,7 +346,7 @@ COMMAND
|
|
346
346
|
|
347
347
|
def test_have_records
|
348
348
|
assert_equal(<<-DUMP, dump)
|
349
|
-
table_create Users TABLE_PAT_KEY
|
349
|
+
table_create Users TABLE_PAT_KEY ShortText
|
350
350
|
|
351
351
|
load --table Users
|
352
352
|
[
|
data/test/test-index-column.rb
CHANGED
@@ -287,20 +287,25 @@ class IndexColumnTest < Test::Unit::TestCase
|
|
287
287
|
:key_type => "ShortText",
|
288
288
|
:default_tokenizer => "TokenDelimit") do |table|
|
289
289
|
table.index("Articles.tags",
|
290
|
-
:name => "
|
290
|
+
:name => "true",
|
291
291
|
:with_position => true)
|
292
292
|
table.index("Articles.tags",
|
293
|
-
:name => "
|
293
|
+
:name => "default")
|
294
|
+
table.index("Articles.tags",
|
295
|
+
:name => "false",
|
296
|
+
:with_position => false)
|
294
297
|
end
|
295
298
|
end
|
296
299
|
|
297
300
|
assert_equal([
|
298
301
|
true,
|
299
302
|
false,
|
303
|
+
true,
|
300
304
|
],
|
301
305
|
[
|
302
|
-
context["Tags.
|
303
|
-
context["Tags.
|
306
|
+
context["Tags.true"].with_position?,
|
307
|
+
context["Tags.false"].with_position?,
|
308
|
+
context["Tags.default"].with_position?,
|
304
309
|
])
|
305
310
|
end
|
306
311
|
end
|
data/test/test-schema-dumper.rb
CHANGED
@@ -275,9 +275,9 @@ column_create Posts title COLUMN_SCALAR ShortText
|
|
275
275
|
def test_reference_table
|
276
276
|
define_reference_table_schema
|
277
277
|
assert_equal(<<-SCHEMA, dump)
|
278
|
-
table_create Terms TABLE_HASH_KEY
|
278
|
+
table_create Terms TABLE_HASH_KEY ShortText
|
279
279
|
|
280
|
-
table_create IndexTerms TABLE_HASH_KEY
|
280
|
+
table_create IndexTerms TABLE_HASH_KEY Terms
|
281
281
|
SCHEMA
|
282
282
|
end
|
283
283
|
|
@@ -303,10 +303,10 @@ column_create Comments item COLUMN_SCALAR Items
|
|
303
303
|
def test_index
|
304
304
|
define_index_schema
|
305
305
|
assert_equal(<<-SCHEMA, dump)
|
306
|
-
table_create Items TABLE_HASH_KEY
|
306
|
+
table_create Items TABLE_HASH_KEY ShortText
|
307
307
|
column_create Items title COLUMN_SCALAR ShortText
|
308
308
|
|
309
|
-
table_create Terms TABLE_PAT_KEY
|
309
|
+
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
|
310
310
|
|
311
311
|
column_create Terms Items__key COLUMN_INDEX|WITH_POSITION Items _key
|
312
312
|
column_create Terms Items_title COLUMN_INDEX|WITH_POSITION Items title
|
@@ -316,7 +316,7 @@ column_create Terms Items_title COLUMN_INDEX|WITH_POSITION Items title
|
|
316
316
|
def test_weight_vector
|
317
317
|
define_weight_vector_schema
|
318
318
|
assert_equal(<<-SCHEMA, dump)
|
319
|
-
table_create Memos TABLE_PAT_KEY
|
319
|
+
table_create Memos TABLE_PAT_KEY ShortText
|
320
320
|
column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT ShortText
|
321
321
|
SCHEMA
|
322
322
|
end
|
@@ -324,7 +324,7 @@ column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT ShortText
|
|
324
324
|
def test_double_array_trie
|
325
325
|
define_double_array_trie_schema
|
326
326
|
assert_equal(<<-SCHEMA, dump)
|
327
|
-
table_create Accounts TABLE_DAT_KEY
|
327
|
+
table_create Accounts TABLE_DAT_KEY ShortText
|
328
328
|
column_create Accounts name COLUMN_SCALAR ShortText
|
329
329
|
SCHEMA
|
330
330
|
end
|
data/test/test-schema.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2014 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -610,7 +610,8 @@ class SchemaTest < Test::Unit::TestCase
|
|
610
610
|
"path: <#{path}>, " +
|
611
611
|
"domain: <Terms>, " +
|
612
612
|
"range: <Posts>, " +
|
613
|
-
"flags: <WITH_SECTION|WITH_WEIGHT|WITH_POSITION
|
613
|
+
"flags: <WITH_SECTION|WITH_WEIGHT|WITH_POSITION>, " +
|
614
|
+
"sources: <content>>",
|
614
615
|
index_column.inspect)
|
615
616
|
end
|
616
617
|
|
@@ -662,7 +663,8 @@ class SchemaTest < Test::Unit::TestCase
|
|
662
663
|
"path: <#{index_column.path}>, " +
|
663
664
|
"domain: <Terms>, " +
|
664
665
|
"range: <Posts>, " +
|
665
|
-
"flags: <WITH_POSITION
|
666
|
+
"flags: <WITH_POSITION>, " +
|
667
|
+
"sources: <_key>>",
|
666
668
|
index_column.inspect)
|
667
669
|
end
|
668
670
|
|
@@ -714,6 +716,33 @@ class SchemaTest < Test::Unit::TestCase
|
|
714
716
|
assert_equal("Terms.posts_content_index", index.name)
|
715
717
|
assert_equal([context["Posts.content"]], renamed_index.sources)
|
716
718
|
end
|
719
|
+
|
720
|
+
class MultipleColumnTest < self
|
721
|
+
setup
|
722
|
+
def setup_index
|
723
|
+
Groonga::Schema.create_table("Posts") do |table|
|
724
|
+
table.short_text :title
|
725
|
+
table.long_text :content
|
726
|
+
end
|
727
|
+
Groonga::Schema.create_table("Terms") do |table|
|
728
|
+
table.index "Posts", "title", "content"
|
729
|
+
end
|
730
|
+
|
731
|
+
@index = context["Terms.Posts_title_content"]
|
732
|
+
end
|
733
|
+
|
734
|
+
def test_source
|
735
|
+
assert_equal([
|
736
|
+
"Posts.title",
|
737
|
+
"Posts.content",
|
738
|
+
],
|
739
|
+
@index.sources.collect(&:name))
|
740
|
+
end
|
741
|
+
|
742
|
+
def test_with_section
|
743
|
+
assert_true(@index.with_section?)
|
744
|
+
end
|
745
|
+
end
|
717
746
|
end
|
718
747
|
|
719
748
|
def test_reference_guess
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/bin/sh
|
2
2
|
|
3
|
-
prefix=/home/
|
3
|
+
prefix=/home/kou/work/c/groonga.clean/packages/windows/dist-x86
|
4
4
|
exec_prefix=${prefix}
|
5
5
|
exec_prefix_set=no
|
6
6
|
|
@@ -107,7 +107,7 @@ while test $# -gt 0; do
|
|
107
107
|
;;
|
108
108
|
|
109
109
|
--libexecdir)
|
110
|
-
echo /home/
|
110
|
+
echo /home/kou/work/c/groonga.clean/packages/windows/dist-x86/libexec/mecab
|
111
111
|
;;
|
112
112
|
|
113
113
|
--sysconfdir)
|
data/vendor/local/bin/mecab.exe
CHANGED
Binary file
|
@@ -15,7 +15,7 @@ http {
|
|
15
15
|
keepalive_timeout 65;
|
16
16
|
|
17
17
|
# The default groonga database path.
|
18
|
-
groonga_database /home/
|
18
|
+
groonga_database /home/kou/work/c/groonga.clean/packages/windows/dist-x86/var/lib/groonga/db/db;
|
19
19
|
|
20
20
|
# Create a groonga database automatically if the groonga database doesn't
|
21
21
|
# exist.
|
@@ -45,7 +45,7 @@ http {
|
|
45
45
|
}
|
46
46
|
|
47
47
|
location / {
|
48
|
-
root /home/
|
48
|
+
root /home/kou/work/c/groonga.clean/packages/windows/dist-x86/share/groonga/html/admin;
|
49
49
|
index index.html;
|
50
50
|
}
|
51
51
|
|