Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Add extended match option to API that searches country and fuzzy name if there are no dedupe matches #1094

Closed
jwalgran opened this issue Sep 2, 2020 · 0 comments
Assignees

Comments

@jwalgran
Copy link
Contributor

jwalgran commented Sep 2, 2020

Describe the solution you'd like

  • Provision the database with the pg_trgm extension
  • Add flag to the POST /facilities endpoint
  • If there are no dedupe gazetteer matches and the new flag is true
    • Filter facilities by country and similar name using TrigramSimilarity
    • Create and return potential matches that have a sufficient trigram match similarity (start with 0.5)
@jwalgran jwalgran self-assigned this Sep 3, 2020
@jwalgran jwalgran changed the title DRAFT: Add extended match option to API that searches country and fuzzy name if there are no dedupe matches Add extended match option to API that searches country and fuzzy name if there are no dedupe matches Sep 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant