mozilla-services / merino-py

Web Service for Firefox Suggest
Mozilla Public License 2.0
9 stars 9 forks source link

fix: exclude verbose region names in geonames uploader SNG-1902 #683

Closed 0c0w3 closed 3 weeks ago

0c0w3 commented 3 weeks ago

References

JIRA: https://mozilla-hub.atlassian.net/browse/SNG-1902

Description

In the GeoNames data, U.S. states have verbose alternate names like "State of California" that people are unlikely to type and that interfere with prefix matching. The Merino uploader job should filter them out.

PR Review Checklist

Put an x in the boxes that apply