J.Zil
J.Zil

Reputation: 2449

Geolocation with elasticsearch using placenames (geocoding)

I'm using elasticsearch to search items and now I want to be able to search my cities and towns in a given country.

I've loaded an SQL database up with the following information (here is example data).

Name: London
Type: City
Long: 51.234
Lat: 32.123
Country: UK

A few questions about this:

  1. Can I load this into elasticsearch to turn it into a geocoder.
  2. Will this mean search location search needs two queries, one to geocode and then one to search with the co-ordinates
  3. Are there any plugins that I should be using instead where I can use my own data.

Upvotes: 0

Views: 1546

Answers (1)

Anuj Mehta
Anuj Mehta

Reputation: 1138

Checkout Pelias. It's an Open source geocoder based on ElasticSearch

Upvotes: 3

Related Questions