chercheville v0.1.1 ChercheVille.Search
A GenServer providing city search capabilities.
Summary
Functions
Search cities nearest to latitude
and longitude
.
Returns a list of ChercheVille.City
records no larger than limit
and sorted by distance from latitude
and longitude
.
Search for cities matching search_string
.
Returns a list of ChercheVille.City
records no larger than limit
.
Equally relevant cities get sorted by descending population.