2017-04-06 9 views

答えて

0

距離フィルタを使用ジオ:

{ 
    "query": { 
     "filtered": { 
      "filter": { 
       "geo_distance": { 
        "distance": "1.6km", 
        "destination_location": "34.05,-118.24" 
       } 
      } 
     } 
    } 
} 

34.05緯度及び(-118.24)は経度です。

1mile = 1.6km

関連する問題