Inverse geospatial search with Lucene

爷,独闯天下 提交于 2019-12-08 03:52:27

问题


Is there a way to implement something like "inverse" geospatial search with Lucene? With inverse I mean, the indexed objects each define both a position (lat/lng) and a radius. I want to find all objects where my search position is within the radius of the indexed objects.

A real life example could be a set of pizza delivery services, each of them delivers an area of radius x. I want to find all pizza services that could deliver a pizza to me. So, it is not me defining the search radius, it is defined by the target objects.

All I have found yet implements a search within a given radius. Any links/hints even to different technologies are welcome.

来源:https://stackoverflow.com/questions/29623808/inverse-geospatial-search-with-lucene

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!