photon icon indicating copy to clipboard operation
photon copied to clipboard

Mixed structured and unstructured queries

Open igoro00 opened this issue 7 months ago • 1 comments

I use Photon in batch jobs to attach GPS coords and osm_id to addresses in a DB. The main problem I'm having at the moment is that it finds the street and the house number but in a completely different city or the correct city and house number but different street etc.. I've tried adding location bias but it didn't help a ton.

So I switched to the OpenSearch version that supports structured search but as it turned out it doesn't solve my problem at all because I can only extract some values from the address (like city and state) but not all (for example I cant separate street and house number reliably).

It would be great if I could search an address like with the normal search api but provide constraints to some fields(like city, state, country etc) like with the structured query api.

Thanks in advance

igoro00 avatar May 15 '25 17:05 igoro00

I'd rather see the free-text search improved so that your queries just work. Can you give examples of addresses where you have issues?

lonvia avatar Jun 11 '25 10:06 lonvia