[Photon] Question regarding search-as-you-type feature

Leo Wetterek Leo.W.se at hotmail.com
Sat Mar 19 17:20:45 UTC 2022


Hello

I have a question regarding the search-as-you-type feature. There is no documentation on how to use it. Should a fetch be made for each character in the search phrase changed like the following?

http://localhost:2322/api?q=b<http://localhost:2322/api?q=berlin>
http://localhost:2322/api?q=be<http://localhost:2322/api?q=berlin>
http://localhost:2322/api?q=ber<http://localhost:2322/api?q=berlin>
http://localhost:2322/api?q=ber<http://localhost:2322/api?q=berlin>l
http://localhost:2322/api?q=berli<http://localhost:2322/api?q=berlin>
http://localhost:2322/api?q=berlin

... Or is there a seperate url pattern for the search-as-you-type feature?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/photon/attachments/20220319/ef3f1e19/attachment.htm>


More information about the Photon mailing list