Kouhei Sutou
null+****@clear*****
Sun Jan 26 22:58:36 JST 2014
Kouhei Sutou 2014-01-26 22:58:36 +0900 (Sun, 26 Jan 2014) New Revision: 569ba5ef325070e9ab60373ce89f2389ea671577 https://github.com/groonga/groonga/commit/569ba5ef325070e9ab60373ce89f2389ea671577 Message: Treat non castable score value like "string value" as score "1" Added files: test/command/suite/select/filter/no_index/score/string/not_number.expected test/command/suite/select/filter/no_index/score/string/not_number.test Added: test/command/suite/select/filter/no_index/score/string/not_number.expected (+9 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/no_index/score/string/not_number.expected 2014-01-26 22:58:36 +0900 (b9b42b1) @@ -0,0 +1,9 @@ +table_create Records TABLE_NO_KEY +[[0,0.0,0.0],true] +load --table Records +[ +[] +] +[[0,0.0,0.0],1] +select Records --filter '"string"' --output_columns _score +[[0,0.0,0.0],[[[1],[["_score","Int32"]],[1]]]] Added: test/command/suite/select/filter/no_index/score/string/not_number.test (+8 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/no_index/score/string/not_number.test 2014-01-26 22:58:36 +0900 (ffe8104) @@ -0,0 +1,8 @@ +table_create Records TABLE_NO_KEY + +load --table Records +[ +[] +] + +select Records --filter '"string"' --output_columns _score -------------- next part -------------- HTML����������������������������...Download