Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoComplete - Limit results to exact spelling of partial address #387

Open
BK01 opened this issue Jan 31, 2024 · 1 comment
Open

autoComplete - Limit results to exact spelling of partial address #387

BK01 opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request geocoder
Milestone

Comments

@BK01
Copy link
Contributor

BK01 commented Jan 31, 2024

Scenario:

  • The client is building a web application that will use autoComplete to provide a location search feature.
  • Users of the web application will use autoComplete to search for civic addresses, localities and streets.

Issue:

  • When users provide a partial address that does not contain a civic number (locality or street search), the results can be broad due to the number of possible matches, aliases, spell check etc.

Task:

  • Introduce a new boolean parameter that can be used in combination with autoComplete (name tbd: perhaps 'exactSpelling').
  • If true, the resulting list of suggestions will begin with the partial address.
  • Default value is false
@cmhodgson
Copy link
Collaborator

The code for the exactSpelling option is committed to the 4.3.x branch here:
9bf63ae

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request geocoder
Projects
None yet
Development

No branches or pull requests

3 participants