]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/api/search/query.py
increase search area when filtering by postcode
[nominatim.git] / nominatim / api / search / query.py
index ad1b69ef521dfd303ae1d5b95aa8629859feb10b..a0d7add1b70118e32d628b4894a893386d09d996 100644 (file)
@@ -99,6 +99,7 @@ class Token(ABC):
     penalty: float
     token: int
     count: int
+    addr_count: int
     lookup_word: str
     is_indexed: bool
 
@@ -169,7 +170,7 @@ class TokenList:
 
 @dataclasses.dataclass
 class QueryNode:
-    """ A node of the querry representing a break between terms.
+    """ A node of the query representing a break between terms.
     """
     btype: BreakType
     ptype: PhraseType