Implement functionality to search locations.