-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(filters): Remove complicated housenumber filter
This removes the complex filtering logic known as the "complicated housenumber filter", or sometimes even the "goldbergian housenumber filter", originally described in #133 and merged as part of our ES2 upgrade (#138). The housenumber filter was made quite a long time ago, with the intention of removing partial numeric tokens. It's quite a lot of code, rather hard to understand, and may actually cause more problems than it sovles. In particular, fully numeric postal codes cannot be found with autocomplete until the postal code is entered completely (see pelias/pelias#676). Since this code was written, we've improved autocomplete considerably, and having some tokens missing could be resulting in autocomplete not doing its job as well as it could. However, there could also be downsides: this will increase the hit count for numeric inputs dramatically, so it could cause more slow queries.
- Loading branch information
1 parent
4bc4ea2
commit 509fbe2
Showing
4 changed files
with
8 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters