简体   繁体   English

Elasticsearch-地理编码(Postgres数据)

[英]Elasticsearch - Geocode (Postgres data)

I am new in Elasticsearch, but I read that is one of the best solutions for offline geocoding. 我是Elasticsearch的新手,但我读到这是离线地理编码的最佳解决方案之一。 Currently I have prepared data in PostgreSQL database with sql view which has these columns: 目前,我已经使用sql视图在PostgreSQL数据库中准备了数据,这些数据具有以下列:

  • country 国家
  • city
  • street
  • house number 门牌号码
  • post code 邮编
  • lat LAT
  • lon LON

How should I proceed to work with this data into ElasticSearch and will able full text search with ignoring diacritics? 我应该如何继续将此数据处理到ElasticSearch中,并且能够在忽略变音符号的情况下进行全文搜索? Thanks 谢谢

Geo point: look at: Geo point 地理位置:查看: 地理位置

Text search look at: Text search 文字搜索: 文字搜索

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM