Kouhei Sutou
null+****@clear*****
Fri May 22 18:17:52 JST 2015
Kouhei Sutou 2015-05-22 18:17:52 +0900 (Fri, 22 May 2015) New Revision: 2857861189dfa5bd635d20e44df9845bc3d80687 https://github.com/groonga/wikipedia-search/commit/2857861189dfa5bd635d20e44df9845bc3d80687 Message: Fix operator Modified files: benchmark/centos6/pgroonga.sh Modified: benchmark/centos6/pgroonga.sh (+11 -11) =================================================================== --- benchmark/centos6/pgroonga.sh 2015-05-22 18:15:51 +0900 (b9f5f0d) +++ benchmark/centos6/pgroonga.sh 2015-05-22 18:17:52 +0900 (6a5faa3) @@ -139,7 +139,7 @@ benchmark_search_pgroonga() { cat "${benchmark_dir}/search-words.list" | while read search_word; do for i in $(seq ${n_search_tries}); do - where="text %% '${search_word}'" + where="text @@ '${search_word}'" echo "PGroonga: search: ${where}: ${i}" time run sudo -u postgres -H psql -d benchmark \ --command "SELECT COUNT(*) FROM wikipedia WHERE ${where}" @@ -160,19 +160,19 @@ benchmark_search_pg_bigm() done } -ensure_data +# ensure_data -setup_postgresql_repository -setup_groonga_repository -install_pgroonga -install_pg_bigm +# setup_postgresql_repository +# setup_groonga_repository +# install_pgroonga +# install_pg_bigm -setup_postgresql -setup_benchmark_db -load_data +# setup_postgresql +# setup_benchmark_db +# load_data -benchmark_load_pgroonga -benchmark_load_pg_bigm +# benchmark_load_pgroonga +# benchmark_load_pg_bigm benchmark_search_pgroonga benchmark_search_pg_bigm -------------- next part -------------- HTML����������������������������... 下载