Skip to content

Mixed structured and unstructured queries #893

@igoro00

Description

@igoro00

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions