I have four pieces of data that I want to make searchable.
Town, City, Postcode, Country
What is the best way that I can make these results searchable by any of the following ways:
- London, England
- Swindon, Wiltshire, England
- Wiltshire, England
- England
- Wiltshire
- Swindon
I could normalise the data, but then I would get duplicate results if someone searched for simply "London".
If I had only "London, England" stored, but not just "London", then if someone searched for "London" it wouldnt find any results.
Its a catch22. How should one store addresses to allow flexibility when the user is searching?