[Groonga-commit] groonga/groonga at a892d76 [test-select-add-tests-for-mix-weight-by-index-of-section] test select: fix place of weight

Back to archive index

Masafumi Yokoyama null+****@clear*****
Wed Mar 18 17:42:34 JST 2015


Masafumi Yokoyama	2015-03-18 17:42:34 +0900 (Wed, 18 Mar 2015)

  New Revision: a892d76c37c7a26265e93b2ecf01497dcaee1a8b
  https://github.com/groonga/groonga/commit/a892d76c37c7a26265e93b2ecf01497dcaee1a8b

  Message:
    test select: fix place of weight

  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

  Modified: test/command/suite/select/match_columns/section/by_index/4_items/last_weight.expected (+1 -1)
===================================================================
--- test/command/suite/select/match_columns/section/by_index/4_items/last_weight.expected    2015-03-18 17:21:39 +0900 (8c133f2)
+++ test/command/suite/select/match_columns/section/by_index/4_items/last_weight.expected    2015-03-18 17:42:34 +0900 (ac6321a)
@@ -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] * 10 || 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] * 10"   --query Rroonga   --output_columns "title, content, _score"
 [
   [
     0,

  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:21:39 +0900 (d8ea6f4)
+++ test/command/suite/select/match_columns/section/by_index/4_items/last_weight.test    2015-03-18 17:42:34 +0900 (e66f587)
@@ -19,6 +19,6 @@ load --table Memos
 ]
 
 select Memos \
-  --match_columns "Lexicon.memo_index[0] * 10 || Lexicon.memo_index[1] || Lexicon.memo_index[2] || Lexicon.memo_index[3]" \
+  --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"
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index