mimirsbrunn
mimirsbrunn copied to clipboard
Better handling for bis
For the moment the house_number is matched exactly (we don't want prefixes as we don't want 2
to match 28
)
It is fine but this makes some house number prefixes difficult to find.
for example for the house number 28 bis
we need an exact match on this so 28b
, 28 b
, ... that might be valid user query won't match at all.
I think the problem is mainly for bis
as I don't know if there are many short form for ter (and in some countries it's only one letter a
, b
, ...)
To handle this we could use add some (one :stuck_out_tongue: ) synonyms to the house_number
field, and maybe a custom tokenizer for 28b
to match 28 bis
?
What do you think of this ?
Note: the geocoder test that lead to this is 28b rue de la garrigue nimes
(well with additional tokens, but that's not what is interesting here :wink: )
As we agreed together, we will add a synonym b
for bis
.