Takashi Fujino
fujin****@gmail*****
2017年 2月 20日 (月) 08:19:33 JST
お世話になっております。 藤野と申します。 Groonga6.1.0、CentOS7で位置情報検索を行っています。 開発者からリクエストタイムアウトを要望され、groongaのリクエストタイムアウトを検証しました。 http://groonga.org/ja/docs/reference/commands/request_cancel.html 以下のような--request_timeout '2.0'を付加したselectコマンドを発行しましたが、 2秒でタイムアウトできませんでした(10秒掛かってデータ結果が返ってきている)。 select --filter 'geo_in_circle(wgs84_geo_point, "128451091x503161044", 1000000)' --output_columns 'xxx,xxx' --limit '-1' --command_version '1' --scorer '_score=geo_distance(wgs84_geo_point, "128451091x503161044")' --output_type 'json' --request_timeout '2.0' --table 'master' --sort_keys 'geo_distance(wgs84_geo_point, "128451091x503161044")' クエリーログの結果 2017-02-20 08:06:30.706427|0x6fc220|>/d/select?filter=geo_in_circle%28wgs84_geo_point%2C+%22128451091x503161044%22%2C+1000000%29&output_columns=xxx%2xxx%2xxx&limit=-1&command_version=1&scorer=_score%3Dgeo_distance%28wgs84_geo_point%2C+%22128451091x503161044%22%29&output_type=json&request_timeout=2.0&table=master&sort_keys=geo_distance%28wgs84_geo_point%2C+%22128451091x503161044%22%29 2017-02-20 08:06:30.760991|0x6fc220|:000000054569655 filter(223839) 2017-02-20 08:06:30.761013|0x6fc220|:000000054589041 select(223839) 2017-02-20 08:06:30.860003|0x6fc220|:000000153581634 score(223839) 2017-02-20 08:06:38.219353|0x6fc220|:000007512939916 sort(223839) 2017-02-20 08:06:40.987030|0x6fc220|:000010280617588 output(223839) 2017-02-20 08:06:40.987553|0x6fc220|<000010281131220 rc=0 リクエストタイムアウトできない原因をご教授いただけると幸いです。 宜しく御願い致します。 -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download