[Photon] Next steps

Yohan Boniface ybon at openstreetmap.fr
Fri Jun 20 11:11:43 UTC 2014


On 06/20/2014 12:50 PM, Peter wrote:
> I would at least
> disable it for autosuggestions at the beginning. Maybe fuzzy does not
> even makes sense for autosuggestion as one wants to have a more or less
> strict filter and fuzzy includes sometimes too many and unexpected things.

That's a nice idea!
i.e. disable fuzzy in "autocomplete" mode, but keep it in "search" mode.
We don't have such mode concept atm, but can be introduced, maybe with 
two endpoints (but they at the end call the same code, just one with 
fuzzy, one without), or with a parameter.
Then one can say that even in autocomplete we can do typo when typing 
fast without expecting the feedback from the server, and then removing 
autocomplete will lower the user experience. But I think we can at least 
keep this idea in mind as an option.
Also, imho, we should not make "fuzzy" the only hard problem in the 
search logic implementation. Without fuzzy things are much simpler, but 
not yet simple, cf 
https://hackpad.com/A-geocoder-scaling-OpenStreetMap-search-emm5sgOrISz 
(to be continued) ;)
And btw this is the funniest challenge in town :)



More information about the Photon mailing list