Originally Posted By: Webmaster
This post was automatically imported from our archived forum.
Please note that these changes apply to FindAnInspector.US only. The search engine on nachi.org will soon be replaced with FindAnInspector.US.
Changes to distance formula
I've just changed NACHI's FindAnInspector.US's query method to the Great Circle Distance Formula. This formula uses spherical trigonometry to calculate the exact distance between two points with extreme precision, rather than assuming 69.1 miles for each latitude degree and 53 miles for each longitude degree. It will allow for more accurate searches.
Changes to search results
You'll also notice that FindAnInspector.US displays the distance from the search location in its search results. It also limits the "also serving" block further, preventing one person to take up too much room on a page.
Changes to sorting method
The search results are still sorted primarily by the distance from the search location. Each location is then sorted using an auto-parity method that ensures that NACHI members get equal exposure. By tracking how many times a member has received an e-mail through FindAnInspector.US, how many times a member's website has been visited through FindAnInspector.US, and how many times a member's "email" link has been clicked on FindAnInspector.US, we are able to give members with less exposure a chance to catch up. For example, assuming that Inspector X and Inspector Y serve the same locations, if Inspector X has received 3 e-mails through FindAnInspector.US and Inspector Y has received 2, Inspector Y will appear above Inspector X in the search results for that location.
Changes to the search page
I've added "Exact Match" and "Within 10 mile" options to the search page to provide better results in locations with many NACHI inspectors.
Feel free to reply with any questions or suggestions.