6

请教一个问题,根据经纬度查询最近的店铺还要根据名称模糊匹配

 2 years ago
source link: https://www.v2ex.com/t/811756
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
请教一个问题,根据经纬度查询最近的店铺还要根据名称模糊匹配 - V2EX

V2EX  ›  程序员

请教一个问题,根据经纬度查询最近的店铺还要根据名称模糊匹配

  CantSee · 1 天前 via Android · 453 次点击
最近的商铺使用 Redis Geo 实现的,但是好像没有模糊匹配,有其他更好的解决思路吗?
2 条回复    2021-10-30 17:16:39 +08:00

gengchun

gengchun   1 天前

用高德或者腾讯的 api ?

Jooooooooo

Jooooooooo   1 天前

捞出所有最近的然后再匹配呗, 最近 3/5km 几千个店铺了不得了吧.

关于   ·   帮助文档   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   2295 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 20ms · UTC 15:24 · PVG 23:24 · LAX 08:24 · JFK 11:24
♥ Do have faith in what you're doing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK