X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bb5de9b955e9ff676ea4d3c73cdfa94c60854857..bdded69ab636ab8e3bb46322ebbe4d2f9ec41614:/nominatim/api/search/query.py diff --git a/nominatim/api/search/query.py b/nominatim/api/search/query.py index bd91c2ec..a0d7add1 100644 --- a/nominatim/api/search/query.py +++ b/nominatim/api/search/query.py @@ -99,10 +99,10 @@ class Token(ABC): penalty: float token: int count: int + addr_count: int lookup_word: str is_indexed: bool - addr_count: int = 1 @abstractmethod def get_category(self) -> Tuple[str, str]: