]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/indexer/indexer.py
require tokeinzer for indexer
[nominatim.git] / nominatim / indexer / indexer.py
index cfa48433fd120c664ecd7aea3b432aec329a3261..3a39a151dd4f1f1c845ee15ae1c1591a75cd0809 100644 (file)
@@ -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