null+****@clear*****
null+****@clear*****
2012年 4月 23日 (月) 19:00:50 JST
HAYASHI Kentaro 2012-04-23 19:00:50 +0900 (Mon, 23 Apr 2012)
New Revision: 0e0a57c24751c7565af72cc8973a472587c25bae
Log:
test: add missing parameter for geo_in_circle(),geo_distance().
add the value(rectangle) of approximate_type.
Modified files:
test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.expected
test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.test
Modified: test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.expected (+1 -1)
===================================================================
--- test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.expected 2012-04-23 15:21:27 +0900 (4419a2d)
+++ test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.expected 2012-04-23 19:00:50 +0900 (9fd725a)
@@ -405,7 +405,7 @@ load --table Synonyms
"words":"(たいやき OR たい焼 OR 鯛焼き)"}
]
[[0,0.0,0.0],1]
-select Shops --sortby '+_score, +name' --output_columns 'name, _score, location' --filter 'geo_in_circle(location, "128429532x503148672", 3000)' --scorer '_score = geo_distance(location, "128429532x503148672") * 1000 * 1000'
+select Shops --sortby '+_score, +name' --output_columns 'name, _score, location' --filter 'geo_in_circle(location, "128429532x503148672", 3000, "rectangle")' --scorer '_score = geo_distance(location, "128429532x503148672", "rectangle") * 1000 * 1000'
[
[
0,
Modified: test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.test (+2 -2)
===================================================================
--- test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.test 2012-04-23 15:21:27 +0900 (2cbd928)
+++ test/function/suite/select/output/scalar-geo-point-by-geo-in-circle-rectangle-with-index.test 2012-04-23 19:00:50 +0900 (9ab2f1c)
@@ -386,5 +386,5 @@ load --table Synonyms
select Shops --sortby '+_score, +name' \
--output_columns 'name, _score, location' \
---filter 'geo_in_circle(location, "128429532x503148672", 3000)' \
---scorer '_score = geo_distance(location, "128429532x503148672") * 1000 * 1000'
+--filter 'geo_in_circle(location, "128429532x503148672", 3000, "rectangle")' \
+--scorer '_score = geo_distance(location, "128429532x503148672", "rectangle") * 1000 * 1000'