X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4dadbaea73a77d0ad33e5f98d8f8fb828286ecb3..201b4689afaee3acfddd1fc7fe829fafc70667d6:/nominatim/api/search/query.py diff --git a/nominatim/api/search/query.py b/nominatim/api/search/query.py index ad1b69ef..a0d7add1 100644 --- a/nominatim/api/search/query.py +++ b/nominatim/api/search/query.py @@ -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