]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/api/search/query.py
extend word statistics to address index
[nominatim.git] / nominatim / api / search / query.py
index 333722fe44ffa94ed3816d8832b04fbc0b552e10..bd91c2ece72eac23dbda429e88979f826888b0c1 100644 (file)
@@ -102,6 +102,7 @@ class Token(ABC):
     lookup_word: str
     is_indexed: bool
 
+    addr_count: int = 1
 
     @abstractmethod
     def get_category(self) -> Tuple[str, str]: