HAYASHI Kentaro
null+****@clear*****
Tue Apr 28 14:22:46 JST 2015
HAYASHI Kentaro 2015-04-28 14:22:46 +0900 (Tue, 28 Apr 2015) New Revision: 4173aac8ea20c32a5ace5326ec1df60e5e76904d https://github.com/groonga/groonga/commit/4173aac8ea20c32a5ace5326ec1df60e5e76904d Message: doc: update execution examples Modified files: doc/source/example/tutorial/index-6.log doc/source/example/tutorial/index-7.log Modified: doc/source/example/tutorial/index-6.log (+7 -3) =================================================================== --- doc/source/example/tutorial/index-6.log 2015-04-28 14:21:53 +0900 (e2a3275) +++ doc/source/example/tutorial/index-6.log 2015-04-28 14:22:46 +0900 (7023607) @@ -1,16 +1,20 @@ Execution example:: + table_create --name GeoSite --flags TABLE_HASH_KEY --key_type ShortText + # [[0, 1337566253.89858, 0.000355720520019531], true] + column_create --table GeoSite --name location --type WGS84GeoPoint + # [[0, 1337566253.89858, 0.000355720520019531], true] table_create --name GeoIndex --flags TABLE_PAT_KEY --key_type WGS84GeoPoint # [[0, 1337566253.89858, 0.000355720520019531], true] - column_create --table GeoIndex --name index_point --type Site --flags COLUMN_INDEX --source location + column_create --table GeoIndex --name index_point --type GeoSite --flags COLUMN_INDEX --source location # [[0, 1337566253.89858, 0.000355720520019531], true] - load --table Site + load --table GeoSite [ {"_key":"http://example.org/","location":"128452975x503157902"}, {"_key":"http://example.net/","location":"128487316x502920929"} ] # [[0, 1337566253.89858, 0.000355720520019531], 2] - select --table Site --filter 'geo_in_circle(location, "128515259x503187188", 5000)' --output_columns _key,location + select --table GeoSite --filter 'geo_in_circle(location, "128515259x503187188", 5000)' --output_columns _key,location # [ # [ # 0, Modified: doc/source/example/tutorial/index-7.log (+1 -1) =================================================================== --- doc/source/example/tutorial/index-7.log 2015-04-28 14:21:53 +0900 (f6f53f0) +++ doc/source/example/tutorial/index-7.log 2015-04-28 14:22:46 +0900 (1466f68) @@ -1,6 +1,6 @@ Execution example:: - select --table Site --filter 'geo_in_circle(location, "128515259x503187188", 50000)' --output_columns _key,location,_score --sortby '-geo_distance(location, "128515259x503187188")' --scorer '_score = geo_distance(location, "128515259x503187188")' + select --table GeoSite --filter 'geo_in_circle(location, "128515259x503187188", 50000)' --output_columns _key,location,_score --sortby '-geo_distance(location, "128515259x503187188")' --scorer '_score = geo_distance(location, "128515259x503187188")' # [ # [ # 0, -------------- next part -------------- HTML����������������������������... Download