mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
generalize normalization step for search query
It is now possible to configure functions for changing the query input before it is analysed by the tokenizer. Code is a cleaned-up version of the implementation by @miku.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
query-preprocessing:
|
||||
- step: normalize
|
||||
normalization:
|
||||
- ":: lower ()"
|
||||
- ":: Hans-Hant"
|
||||
|
||||
Reference in New Issue
Block a user