mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
exclude names ending in :wikipedia from indexing
The wikipedia prefix is used for referencing a wikipedia article for the given tag, not the object, so not useful to search.
This commit is contained in:
@@ -77,6 +77,7 @@ flex.set_prefilters{delete_keys = {'note', 'note:*', 'source', '*source', 'attri
|
||||
extra_keys = {'*:prefix', '*:suffix', 'name:prefix:*', 'name:suffix:*',
|
||||
'name:etymology', 'name:signed', 'name:botanical',
|
||||
'wikidata', '*:wikidata',
|
||||
'*:wikipedia', 'brand:wikipedia:*',
|
||||
'addr:street:name', 'addr:street:type'}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user