Kouhei Sutou
null+****@clear*****
Fri Mar 29 17:59:01 JST 2013
Kouhei Sutou 2013-03-29 17:59:01 +0900 (Fri, 29 Mar 2013) New Revision: 08e3634c05b94f1137c4c5426742378615fb6d99 https://github.com/groonga/groonga/commit/08e3634c05b94f1137c4c5426742378615fb6d99 Message: Add a test for geo_in_rectangle() without index Added files: test/command/suite/select/filter/geo_in_rectangle/no_index.expected test/command/suite/select/filter/geo_in_rectangle/no_index.test Added: test/command/suite/select/filter/geo_in_rectangle/no_index.expected (+5 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/no_index.expected 2013-03-29 17:59:01 +0900 (4e8ccdb) @@ -0,0 +1,5 @@ +column_remove Locations shop +[[0,0.0,0.0],true] +select Shops --sortby '+_score, +name' --output_columns 'name, _score, location' --filter 'geo_in_rectangle(location, "128500000x502800000", "128300000x503000000")' --scorer '_score = geo_distance(location, "128450000x502900000")' +[[[-22,0.0,0.0],"geo_in_rectangle(): index column is missing"],[]] +#|e| geo_in_rectangle(): index column is missing Added: test/command/suite/select/filter/geo_in_rectangle/no_index.test (+8 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/no_index.test 2013-03-29 17:59:01 +0900 (6812e1c) @@ -0,0 +1,8 @@ +#@include fixture/geo/taiyaki/init.grn + +column_remove Locations shop + +select Shops --sortby '+_score, +name' \ + --output_columns 'name, _score, location' \ + --filter 'geo_in_rectangle(location, "128500000x502800000", "128300000x503000000")' \ + --scorer '_score = geo_distance(location, "128450000x502900000")' -------------- next part -------------- HTML����������������������������...Download