Masafumi Yokoyama
null+****@clear*****
Wed Mar 18 17:47:48 JST 2015
Masafumi Yokoyama 2015-03-18 17:47:48 +0900 (Wed, 18 Mar 2015) New Revision: a00c7ec41352a7ccdd1756226442768439c5cb74 https://github.com/groonga/groonga/commit/a00c7ec41352a7ccdd1756226442768439c5cb74 Message: test select: use different weights for each test Because it makes easier to find mistakes. Modified files: test/command/suite/select/match_columns/section/by_index/4_items/last_weight.expected test/command/suite/select/match_columns/section/by_index/4_items/last_weight.test test/command/suite/select/match_columns/section/by_index/4_items/middle_mix_weight.expected test/command/suite/select/match_columns/section/by_index/4_items/middle_mix_weight.test Modified: test/command/suite/select/match_columns/section/by_index/4_items/last_weight.expected (+2 -2) =================================================================== --- test/command/suite/select/match_columns/section/by_index/4_items/last_weight.expected 2015-03-18 17:42:34 +0900 (ac6321a) +++ test/command/suite/select/match_columns/section/by_index/4_items/last_weight.expected 2015-03-18 17:47:48 +0900 (71b2379) @@ -22,7 +22,7 @@ load --table Memos ["learn", "Learning Ruby and Groonga...", "learn!", "learn"] ] [[0,0.0,0.0],5] -select Memos --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] || Lexicon.memo_index[2] || Lexicon.memo_index[3] * 10" --query Rroonga --output_columns "title, content, _score" +select Memos --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] || Lexicon.memo_index[2] || Lexicon.memo_index[3] * 20" --query Rroonga --output_columns "title, content, _score" [ [ 0, @@ -51,7 +51,7 @@ select Memos --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] | [ "Rroonga", "Start Rroonga!", - 13 + 23 ] ] ] Modified: test/command/suite/select/match_columns/section/by_index/4_items/last_weight.test (+1 -1) =================================================================== --- test/command/suite/select/match_columns/section/by_index/4_items/last_weight.test 2015-03-18 17:42:34 +0900 (e66f587) +++ test/command/suite/select/match_columns/section/by_index/4_items/last_weight.test 2015-03-18 17:47:48 +0900 (07d27e1) @@ -19,6 +19,6 @@ load --table Memos ] select Memos \ - --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] || Lexicon.memo_index[2] || Lexicon.memo_index[3] * 10" \ + --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] || Lexicon.memo_index[2] || Lexicon.memo_index[3] * 20" \ --query Rroonga \ --output_columns "title, content, _score" Modified: test/command/suite/select/match_columns/section/by_index/4_items/middle_mix_weight.expected (+2 -2) =================================================================== --- test/command/suite/select/match_columns/section/by_index/4_items/middle_mix_weight.expected 2015-03-18 17:42:34 +0900 (83ab68b) +++ test/command/suite/select/match_columns/section/by_index/4_items/middle_mix_weight.expected 2015-03-18 17:47:48 +0900 (732a4ec) @@ -22,7 +22,7 @@ load --table Memos ["learn", "Learning Ruby and Groonga...", "learn!", "learn"] ] [[0,0.0,0.0],5] -select Memos --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] || Lexicon.memo_index[2] * 10 || Lexicon.memo_index[3]" --query Rroonga --output_columns "title, content, _score" +select Memos --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] || Lexicon.memo_index[2] * 15 || Lexicon.memo_index[3]" --query Rroonga --output_columns "title, content, _score" [ [ 0, @@ -51,7 +51,7 @@ select Memos --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] | [ "Rroonga", "Start Rroonga!", - 13 + 18 ] ] ] Modified: test/command/suite/select/match_columns/section/by_index/4_items/middle_mix_weight.test (+1 -1) =================================================================== --- test/command/suite/select/match_columns/section/by_index/4_items/middle_mix_weight.test 2015-03-18 17:42:34 +0900 (9fe1840) +++ test/command/suite/select/match_columns/section/by_index/4_items/middle_mix_weight.test 2015-03-18 17:47:48 +0900 (e0a5f4b) @@ -19,6 +19,6 @@ load --table Memos ] select Memos \ - --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] || Lexicon.memo_index[2] * 10 || Lexicon.memo_index[3]" \ + --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] || Lexicon.memo_index[2] * 15 || Lexicon.memo_index[3]" \ --query Rroonga \ --output_columns "title, content, _score" -------------- next part -------------- HTML����������������������������...Download