]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/indexer/indexer.py
Merge pull request #2786 from lonvia/export-centroid-for-tokenizer
[nominatim.git] / nominatim / indexer / indexer.py
index 4f7675309cbaa91068f777a97789b5b2e809c5ac..5425c8ffaf212ada260b57932c0566c6611ac2c5 100644 (file)
@@ -175,7 +175,7 @@ class Indexer:
 
 
     def index_postcodes(self) -> None:
-        """Index the entries ofthe location_postcode table.
+        """Index the entries of the location_postcode table.
         """
         LOG.warning("Starting indexing postcodes using %s threads", self.num_threads)
 
@@ -221,7 +221,7 @@ class Indexer:
                                 # asynchronously get the next batch
                                 has_more = fetcher.fetch_next_batch(cur, runner)
 
-                                # And insert the curent batch
+                                # And insert the current batch
                                 for idx in range(0, len(places), batch):
                                     part = places[idx:idx + batch]
                                     LOG.debug("Processing places: %s", str(part))