Dear Algolia Community,
We have an indice “companies_index” which contains an attribute “phone”. With our application we are trying to match a given phone-number to an object in the indice. It’s important that typo’s are not allowed for phone numbers, therefor we disabled typos for numbers. This works perfect.
However sometimes the search query we hit Algolia with will contain the country code.
- In the indice: “phone” => “0251860261”
- In the query “+31251860261”
We are looking for a way that allows us to replace “+31” with “0” when a search query contains or starts with +31.
If this is not possible but you have a better suggestion We’d love to hear it!
Hopefully you guys can help us out :), any tips appreciated.