Masafumi Yokoyama
null+****@clear*****
Thu Mar 12 15:20:14 JST 2015
Masafumi Yokoyama 2015-03-12 15:20:14 +0900 (Thu, 12 Mar 2015) New Revision: f0f562fd8cce1af16786d3e7a075bb47f706bcef https://github.com/groonga/groonga/commit/f0f562fd8cce1af16786d3e7a075bb47f706bcef Merged fbe8750: Merge pull request #306 from groonga/test-use-capital-form Message: tset: use Capital form Modified files: test/command/suite/select/match_columns/section/by_index/1_item/no_weight.expected test/command/suite/select/match_columns/section/by_index/1_item/no_weight.test test/command/suite/select/match_columns/section/by_index/1_item/weight.expected test/command/suite/select/match_columns/section/by_index/1_item/weight.test test/command/suite/select/match_columns/section/by_index/2_items/no_weight.expected test/command/suite/select/match_columns/section/by_index/2_items/no_weight.test 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 test/command/suite/select/match_columns/section/by_index/4_items/no_weight.expected test/command/suite/select/match_columns/section/by_index/4_items/no_weight.test test/command/suite/select/match_columns/section/by_index/4_items/weight.expected test/command/suite/select/match_columns/section/by_index/4_items/weight.test Modified: test/command/suite/select/match_columns/section/by_index/1_item/no_weight.expected (+4 -4) =================================================================== --- test/command/suite/select/match_columns/section/by_index/1_item/no_weight.expected 2015-03-12 15:12:11 +0900 (43cf195) +++ test/command/suite/select/match_columns/section/by_index/1_item/no_weight.expected 2015-03-12 15:20:14 +0900 (abf590d) @@ -11,11 +11,11 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION Memos load --table Memos [ ["title", "content"], -["groonga", "Start groonga!"], -["mroonga", "Start mroonga!"], -["rroonga", "Start rroonga!"], +["Groonga", "Start Groonga!"], +["Mroonga", "Start Mroonga!"], +["Rroonga", "Start Rroonga!"], ["Ruby", "Start Ruby!"], -["learn", "Learning Ruby and groonga..."] +["learn", "Learning Ruby and Groonga..."] ] [[0,0.0,0.0],5] select Memos --match_columns "Lexicon.memo_index[0]" --query Ruby --output_columns "title, content, _score" Modified: test/command/suite/select/match_columns/section/by_index/1_item/no_weight.test (+4 -4) =================================================================== --- test/command/suite/select/match_columns/section/by_index/1_item/no_weight.test 2015-03-12 15:12:11 +0900 (6a0b092) +++ test/command/suite/select/match_columns/section/by_index/1_item/no_weight.test 2015-03-12 15:20:14 +0900 (b905b00) @@ -9,11 +9,11 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION \ load --table Memos [ ["title", "content"], -["groonga", "Start groonga!"], -["mroonga", "Start mroonga!"], -["rroonga", "Start rroonga!"], +["Groonga", "Start Groonga!"], +["Mroonga", "Start Mroonga!"], +["Rroonga", "Start Rroonga!"], ["Ruby", "Start Ruby!"], -["learn", "Learning Ruby and groonga..."] +["learn", "Learning Ruby and Groonga..."] ] select Memos \ Modified: test/command/suite/select/match_columns/section/by_index/1_item/weight.expected (+4 -4) =================================================================== --- test/command/suite/select/match_columns/section/by_index/1_item/weight.expected 2015-03-12 15:12:11 +0900 (1e39c25) +++ test/command/suite/select/match_columns/section/by_index/1_item/weight.expected 2015-03-12 15:20:14 +0900 (0421f02) @@ -11,11 +11,11 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION Memos load --table Memos [ ["title", "content"], -["groonga", "Start groonga!"], -["mroonga", "Start mroonga!"], -["rroonga", "Start rroonga!"], +["Groonga", "Start Groonga!"], +["Mroonga", "Start Mroonga!"], +["Rroonga", "Start Rroonga!"], ["Ruby", "Start Ruby!"], -["learn", "Learning Ruby and groonga..."] +["learn", "Learning Ruby and Groonga..."] ] [[0,0.0,0.0],5] select Memos --match_columns "Lexicon.memo_index[0] * 10" --query Ruby --output_columns "title, content, _score" Modified: test/command/suite/select/match_columns/section/by_index/1_item/weight.test (+4 -4) =================================================================== --- test/command/suite/select/match_columns/section/by_index/1_item/weight.test 2015-03-12 15:12:11 +0900 (3fc980a) +++ test/command/suite/select/match_columns/section/by_index/1_item/weight.test 2015-03-12 15:20:14 +0900 (3e6b41d) @@ -9,11 +9,11 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION \ load --table Memos [ ["title", "content"], -["groonga", "Start groonga!"], -["mroonga", "Start mroonga!"], -["rroonga", "Start rroonga!"], +["Groonga", "Start Groonga!"], +["Mroonga", "Start Mroonga!"], +["Rroonga", "Start Rroonga!"], ["Ruby", "Start Ruby!"], -["learn", "Learning Ruby and groonga..."] +["learn", "Learning Ruby and Groonga..."] ] select Memos \ Modified: test/command/suite/select/match_columns/section/by_index/2_items/no_weight.expected (+7 -7) =================================================================== --- test/command/suite/select/match_columns/section/by_index/2_items/no_weight.expected 2015-03-12 15:12:11 +0900 (30573c5) +++ test/command/suite/select/match_columns/section/by_index/2_items/no_weight.expected 2015-03-12 15:20:14 +0900 (8a72827) @@ -11,14 +11,14 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION Memos load --table Memos [ ["title", "content"], -["groonga", "Start groonga!"], -["mroonga", "Start mroonga!"], -["rroonga", "Start rroonga!"], +["Groonga", "Start Groonga!"], +["Mroonga", "Start Mroonga!"], +["Rroonga", "Start Rroonga!"], ["Ruby", "Start Ruby!"], -["learn", "Learning Ruby and groonga..."] +["learn", "Learning Ruby and Groonga..."] ] [[0,0.0,0.0],5] -select Memos --match_columns "Lexicon.memo_index[0] || 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, @@ -45,8 +45,8 @@ select Memos --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1]" ] ], [ - "rroonga", - "Start rroonga!", + "Rroonga", + "Start Rroonga!", 2 ] ] Modified: test/command/suite/select/match_columns/section/by_index/2_items/no_weight.test (+5 -5) =================================================================== --- test/command/suite/select/match_columns/section/by_index/2_items/no_weight.test 2015-03-12 15:12:11 +0900 (22ec40a) +++ test/command/suite/select/match_columns/section/by_index/2_items/no_weight.test 2015-03-12 15:20:14 +0900 (b96d71f) @@ -9,14 +9,14 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION \ load --table Memos [ ["title", "content"], -["groonga", "Start groonga!"], -["mroonga", "Start mroonga!"], -["rroonga", "Start rroonga!"], +["Groonga", "Start Groonga!"], +["Mroonga", "Start Mroonga!"], +["Rroonga", "Start Rroonga!"], ["Ruby", "Start Ruby!"], -["learn", "Learning Ruby and groonga..."] +["learn", "Learning Ruby and Groonga..."] ] select Memos \ --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1]" \ - --query rroonga \ + --query Rroonga \ --output_columns "title, content, _score" Modified: test/command/suite/select/match_columns/section/by_index/2_items/weight.expected (+7 -7) =================================================================== --- test/command/suite/select/match_columns/section/by_index/2_items/weight.expected 2015-03-12 15:12:11 +0900 (a9cbe08) +++ test/command/suite/select/match_columns/section/by_index/2_items/weight.expected 2015-03-12 15:20:14 +0900 (5beaad7) @@ -11,14 +11,14 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION Memos load --table Memos [ ["title", "content"], -["groonga", "Start groonga!"], -["mroonga", "Start mroonga!"], -["rroonga", "Start rroonga!"], +["Groonga", "Start Groonga!"], +["Mroonga", "Start Mroonga!"], +["Rroonga", "Start Rroonga!"], ["Ruby", "Start Ruby!"], -["learn", "Learning Ruby and groonga..."] +["learn", "Learning Ruby and Groonga..."] ] [[0,0.0,0.0],5] -select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1] * 2" --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, @@ -45,8 +45,8 @@ select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index ] ], [ - "rroonga", - "Start rroonga!", + "Rroonga", + "Start Rroonga!", 12 ] ] Modified: test/command/suite/select/match_columns/section/by_index/2_items/weight.test (+5 -5) =================================================================== --- test/command/suite/select/match_columns/section/by_index/2_items/weight.test 2015-03-12 15:12:11 +0900 (0137604) +++ test/command/suite/select/match_columns/section/by_index/2_items/weight.test 2015-03-12 15:20:14 +0900 (2cf84d0) @@ -9,14 +9,14 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION \ load --table Memos [ ["title", "content"], -["groonga", "Start groonga!"], -["mroonga", "Start mroonga!"], -["rroonga", "Start rroonga!"], +["Groonga", "Start Groonga!"], +["Mroonga", "Start Mroonga!"], +["Rroonga", "Start Rroonga!"], ["Ruby", "Start Ruby!"], -["learn", "Learning Ruby and groonga..."] +["learn", "Learning Ruby and Groonga..."] ] select Memos \ --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1] * 2" \ - --query rroonga \ + --query Rroonga \ --output_columns "title, content, _score" Modified: test/command/suite/select/match_columns/section/by_index/4_items/no_weight.expected (+7 -7) =================================================================== --- test/command/suite/select/match_columns/section/by_index/4_items/no_weight.expected 2015-03-12 15:12:11 +0900 (43ac1ac) +++ test/command/suite/select/match_columns/section/by_index/4_items/no_weight.expected 2015-03-12 15:20:14 +0900 (1bf2fbc) @@ -15,14 +15,14 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION Memos load --table Memos [ ["title", "content", "comment", "category"], -["groonga", "Start groonga!", "groonga!", "groonga"], -["mroonga", "Start mroonga!", "mroonga!", "mroonga"], -["rroonga", "Start rroonga!", "rroonga!", "rroonga"], +["Groonga", "Start Groonga!", "Groonga!", "Groonga"], +["Mroonga", "Start Mroonga!", "Mroonga!", "Mroonga"], +["Rroonga", "Start Rroonga!", "Rroonga!", "Rroonga"], ["Ruby", "Start Ruby!", "Ruby!", "Ruby"], -["learn", "Learning Ruby and groonga...", "learn!", "learn"] +["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]" --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]" --query Rroonga --output_columns "title, content, _score" [ [ 0, @@ -49,8 +49,8 @@ select Memos --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] | ] ], [ - "rroonga", - "Start rroonga!", + "Rroonga", + "Start Rroonga!", 4 ] ] Modified: test/command/suite/select/match_columns/section/by_index/4_items/no_weight.test (+5 -5) =================================================================== --- test/command/suite/select/match_columns/section/by_index/4_items/no_weight.test 2015-03-12 15:12:11 +0900 (da09309) +++ test/command/suite/select/match_columns/section/by_index/4_items/no_weight.test 2015-03-12 15:20:14 +0900 (33cfb52) @@ -11,14 +11,14 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION \ load --table Memos [ ["title", "content", "comment", "category"], -["groonga", "Start groonga!", "groonga!", "groonga"], -["mroonga", "Start mroonga!", "mroonga!", "mroonga"], -["rroonga", "Start rroonga!", "rroonga!", "rroonga"], +["Groonga", "Start Groonga!", "Groonga!", "Groonga"], +["Mroonga", "Start Mroonga!", "Mroonga!", "Mroonga"], +["Rroonga", "Start Rroonga!", "Rroonga!", "Rroonga"], ["Ruby", "Start Ruby!", "Ruby!", "Ruby"], -["learn", "Learning Ruby and groonga...", "learn!", "learn"] +["learn", "Learning Ruby and Groonga...", "learn!", "learn"] ] select Memos \ --match_columns "Lexicon.memo_index[0] || Lexicon.memo_index[1] || Lexicon.memo_index[2] || Lexicon.memo_index[3]" \ - --query rroonga \ + --query Rroonga \ --output_columns "title, content, _score" Modified: test/command/suite/select/match_columns/section/by_index/4_items/weight.expected (+7 -7) =================================================================== --- test/command/suite/select/match_columns/section/by_index/4_items/weight.expected 2015-03-12 15:12:11 +0900 (44e416e) +++ test/command/suite/select/match_columns/section/by_index/4_items/weight.expected 2015-03-12 15:20:14 +0900 (a6839f7) @@ -15,14 +15,14 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION Memos load --table Memos [ ["title", "content", "comment", "category"], -["groonga", "Start groonga!", "groonga!", "groonga"], -["mroonga", "Start mroonga!", "mroonga!", "mroonga"], -["rroonga", "Start rroonga!", "rroonga!", "rroonga"], +["Groonga", "Start Groonga!", "Groonga!", "Groonga"], +["Mroonga", "Start Mroonga!", "Mroonga!", "Mroonga"], +["Rroonga", "Start Rroonga!", "Rroonga!", "Rroonga"], ["Ruby", "Start Ruby!", "Ruby!", "Ruby"], -["learn", "Learning Ruby and groonga...", "learn!", "learn"] +["learn", "Learning Ruby and Groonga...", "learn!", "learn"] ] [[0,0.0,0.0],5] -select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1] * 3 || Lexicon.memo_index[2] * 2 || Lexicon.memo_index[3] * 7" --query rroonga --output_columns "title, content, _score" +select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1] * 3 || Lexicon.memo_index[2] * 2 || Lexicon.memo_index[3] * 7" --query Rroonga --output_columns "title, content, _score" [ [ 0, @@ -49,8 +49,8 @@ select Memos --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index ] ], [ - "rroonga", - "Start rroonga!", + "Rroonga", + "Start Rroonga!", 22 ] ] Modified: test/command/suite/select/match_columns/section/by_index/4_items/weight.test (+5 -5) =================================================================== --- test/command/suite/select/match_columns/section/by_index/4_items/weight.test 2015-03-12 15:12:11 +0900 (f3e4270) +++ test/command/suite/select/match_columns/section/by_index/4_items/weight.test 2015-03-12 15:20:14 +0900 (ac9359a) @@ -11,14 +11,14 @@ column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION \ load --table Memos [ ["title", "content", "comment", "category"], -["groonga", "Start groonga!", "groonga!", "groonga"], -["mroonga", "Start mroonga!", "mroonga!", "mroonga"], -["rroonga", "Start rroonga!", "rroonga!", "rroonga"], +["Groonga", "Start Groonga!", "Groonga!", "Groonga"], +["Mroonga", "Start Mroonga!", "Mroonga!", "Mroonga"], +["Rroonga", "Start Rroonga!", "Rroonga!", "Rroonga"], ["Ruby", "Start Ruby!", "Ruby!", "Ruby"], -["learn", "Learning Ruby and groonga...", "learn!", "learn"] +["learn", "Learning Ruby and Groonga...", "learn!", "learn"] ] select Memos \ --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1] * 3 || Lexicon.memo_index[2] * 2 || Lexicon.memo_index[3] * 7" \ - --query rroonga \ + --query Rroonga \ --output_columns "title, content, _score" -------------- next part -------------- HTML����������������������������...Download