photon icon indicating copy to clipboard operation
photon copied to clipboard

Structurized search by address

Open Azbesciak opened this issue 6 years ago • 4 comments

Regarding to https://github.com/komoot/photon/issues/140 and my exploring, currently there is no feature like the Nominatim provides: search by address details. I have tried to do so with osm_tag and fields like addr:city (even changed this in code to accept values with more than one :, but maybe it is not enough) but it did not work - maybe I am looking at the wrong direction?

Nevertheless, 3 questions:

  1. is that feature in your plans/ideas?
  2. if so, are you going to implement it?
  3. if you would like to get this feature but has no time (PR accepted as I saw) how long it would take to implement it in base version without much knowledge about ES, where should I start?

Thanks in advance!

Azbesciak avatar Apr 11 '19 09:04 Azbesciak

Could you explain the use case in a bit more detail please?

In general photon will return results if you specify (partial) addresses without declaring which tags these are. The scoring is currently a bit off which at times will cause entities with numbers in their names to be returned, but for example https://github.com/komoot/photon/pull/391 does address that issue and I would expect that PR or a modified version of it to be merged after some more review.

simonpoole avatar Apr 11 '19 19:04 simonpoole

One may just want to be sure and give a correct specification. Form autocompletion? It is rather common... To Say more, looking at issues like https://github.com/komoot/photon/issues/332 or maybe https://github.com/komoot/photon/issues/329 it would just give an alternative to the user (just better address specification) and that is what I actually need.

Azbesciak avatar Apr 12 '19 05:04 Azbesciak

Any response?

Azbesciak avatar Apr 19 '19 17:04 Azbesciak

+1

Marlonzao avatar Nov 30 '22 17:11 Marlonzao