elastic / stream2es

Stream data into ES (Wikipedia, Twitter, stdin, or other ESes)
355 stars 60 forks source link

Geospatially tagged data #53

Open stucker0530 opened 9 years ago

stucker0530 commented 9 years ago

I would like to import all of the articles that have a geolocation, eg Latitude and Longtude. Any ideas on how to do this?

BrunoBonacci commented 9 years ago

Hi, I don't think there is anything particular to the geo-spatial data for stream2es. What you need is to make sure that the mapping has been correctly specified before starting the import. So have a look on how to create a mapping for geo-spatial data here: https://www.elastic.co/guide/en/elasticsearch/reference/1.7/mapping-geo-point-type.html

So to summarize:

I hope this help.