Created
February 14, 2025 14:31
-
-
Save Rub21/54e28ac3cebe94a79e92fc7ce8919776 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 is just an alias for the Nominatim themepark full topic | |
local flex = require('flex-base') | |
flex.load_topic('full') | |
flex.set_prefilters { | |
-- Source tags are very common but not used by Nominatim. Deleting them speeds up indexing. | |
delete_keys = {'source', 'source:*', '*:source'}, | |
-- Date tags are essential for disambiguation. | |
extra_keys = {'start_date', 'start_date:edtf', 'end_date', 'end_date:edtf'} | |
} | |
return flex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment