X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1b1ed820c3af58de7281607a8b82f6a5dfe37319..e1c5673ac31831e1b0cca58e21ebe6622c372ea7:/nominatim/indexer/indexer.py diff --git a/nominatim/indexer/indexer.py b/nominatim/indexer/indexer.py index cfa48433..3a39a151 100644 --- a/nominatim/indexer/indexer.py +++ b/nominatim/indexer/indexer.py @@ -79,8 +79,9 @@ class Indexer: """ Main indexing routine. """ - def __init__(self, dsn, num_threads): + def __init__(self, dsn, tokenizer, num_threads): self.dsn = dsn + self.tokenizer = tokenizer self.num_threads = num_threads