The following are the most common misconceptions our customers have about how search results are generated:

Not All Location Types Have A Latitude And Longitude

We often receive tickets from customers claiming the search results are broken because it is not sorting members by distance. Usually when this happens, it’s because the location that was entered is a state, country, county, or other type of expansive location.

The system does not sort members by distance if any of these types of locations is searched for, because there is no way to pinpoint a specific latitude or longitude. If the system did this, you could search for “Texas” and have a listing in Dallas show that it is 425 miles away for example.

Distance is taken into consideration when a city, zip code, neighborhood, or street is searched for, and not when a country, state, province, county, or other large locations is searched for.

Search Results Should Be Filtered By Which Member Is Closest To My Physical Location

Search results are generated by imputing a location field. If you search for “90210”, the system will provide you with the members that are closest to the latitude and longitude that is assigned to the zip code“90210” in Google’s location database. It will not display the distance from your current physical location.

Doing it this way allows someone who is in Chicago to search for restaurants that are close to his hotel in New York . This visitor would be surprised to search for New York and see all distances calculate the distance from his house in Chicago.

A Member Should Not Show First If They Are Not Located In The Area That Was Searched For

The most common reason this happens is because your site is setup so that premium members are allowed to select service areas and have a higher search result priority.

If you have a premium member in California, and allow them to selected additional service areas, it means that they will appear in search results for those locations as well, despite them being physically located in California. If the premium member sets New York as a service area, when a visitor preforms a search for New York, the premium member that has chosen New York as a service area will show ahead of a Basic member that is physically located in New York due to the premium member's higher search results priority. If you have multiple premium members from different states that have selected New York as a service area, your Basic member will appear below all of them.

Visitors and members often view this as “broken” search results, even though the system is working exactly as it is designed.