Masafumi Yokoyama
null+****@clear*****
Thu Mar 12 14:34:37 JST 2015
Masafumi Yokoyama 2015-03-12 14:34:37 +0900 (Thu, 12 Mar 2015) New Revision: a1099a0e66b3b54be55865d5682f56266049d2b1 https://github.com/groonga/groonga/commit/a1099a0e66b3b54be55865d5682f56266049d2b1 Merged 93ea339: Merge pull request #304 from groonga/add-tests-for-select-by-index-of-section Message: test: split 2-items tests Copied files: test/command/suite/select/match_columns/section/by_index/2_items/no_weight.expected (from test/command/suite/select/match_columns/section/by_index/2_items/weight.expected) test/command/suite/select/match_columns/section/by_index/2_items/no_weight.test (from test/command/suite/select/match_columns/section/by_index/2_items/weight.test) Modified files: test/command/suite/select/match_columns/section/by_index/2_items/weight.expected test/command/suite/select/match_columns/section/by_index/2_items/weight.test Copied: test/command/suite/select/match_columns/section/by_index/2_items/no_weight.expected (+2 -2) 85% =================================================================== --- test/command/suite/select/match_columns/section/by_index/2_items/weight.expected 2015-03-12 14:13:54 +0900 (6fd9cad) +++ test/command/suite/select/match_columns/section/by_index/2_items/no_weight.expected 2015-03-12 14:34:37 +0900 (30573c5) @@ -18,7 +18,7 @@ load --table Memos ["learn", "Learning Ruby and groonga..."] ] [[0,0.0,0.0],5] -select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1]" --query rroonga --output_columns "title, content, _score" +select Memos --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1]" --query rroonga --output_columns "title, content, _score" [ [ 0, @@ -47,7 +47,7 @@ select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index [ "rroonga", "Start rroonga!", - 11 + 2 ] ] ] Copied: test/command/suite/select/match_columns/section/by_index/2_items/no_weight.test (+1 -1) 88% =================================================================== --- test/command/suite/select/match_columns/section/by_index/2_items/weight.test 2015-03-12 14:13:54 +0900 (802bd3c) +++ test/command/suite/select/match_columns/section/by_index/2_items/no_weight.test 2015-03-12 14:34:37 +0900 (22ec40a) @@ -17,6 +17,6 @@ load --table Memos ] select Memos \ - --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1]" \ + --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1]" \ --query rroonga \ --output_columns "title, content, _score" Modified: test/command/suite/select/match_columns/section/by_index/2_items/weight.expected (+2 -2) =================================================================== --- test/command/suite/select/match_columns/section/by_index/2_items/weight.expected 2015-03-12 14:13:54 +0900 (6fd9cad) +++ test/command/suite/select/match_columns/section/by_index/2_items/weight.expected 2015-03-12 14:34:37 +0900 (a9cbe08) @@ -18,7 +18,7 @@ load --table Memos ["learn", "Learning Ruby and groonga..."] ] [[0,0.0,0.0],5] -select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1]" --query rroonga --output_columns "title, content, _score" +select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1] * 2" --query rroonga --output_columns "title, content, _score" [ [ 0, @@ -47,7 +47,7 @@ select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index [ "rroonga", "Start rroonga!", - 11 + 12 ] ] ] Modified: test/command/suite/select/match_columns/section/by_index/2_items/weight.test (+1 -1) =================================================================== --- test/command/suite/select/match_columns/section/by_index/2_items/weight.test 2015-03-12 14:13:54 +0900 (802bd3c) +++ test/command/suite/select/match_columns/section/by_index/2_items/weight.test 2015-03-12 14:34:37 +0900 (0137604) @@ -17,6 +17,6 @@ load --table Memos ] select Memos \ - --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1]" \ + --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1] * 2" \ --query rroonga \ --output_columns "title, content, _score" -------------- next part -------------- HTML����������������������������...Download