Geospatial Dengan SOLR

Secara umum Solr dipergunakan untuk media penyimpanan peta yang biasanya di support oleh database seperti Oracle dan PostgreSQL. Data peta/map disimpan dalam format WKT supaya bisa di index dan di query oleh Apache Solr. Untuk visualisasi data peta/map nya menggunakan software open source juga yaitu GeoServer dimana sudah mensupport Solr sebagai data store ( Solr plugin ). Selain itu Solr juga mensupport spatial search seperti radius, distance dan filter search.


Penjelasan mudahnya, Solr ini adalah sebuah aplikasi mesin pencari seperti Google yang ditulis menggunakan bahasa pemrograman Java. Dan berikut ini adalah penjelasan yang lebih lengkap diambil dari web resmi Apache SOLR:

SolrTM is the popular, blazing fast open source enterprise search platform from the Apache LuceneTM project. Its major features include powerful full-text search, hit highlighting, faceted search, near real-time indexing, dynamic clustering, database integration, rich document (e.g., Word, PDF) handling, and geospatial search. Solr is highly reliable, scalable and fault tolerant, providing distributed indexing, replication and load-balanced querying, automated failover and recovery, centralized configuration and more. Solr powers the search and navigation features of many of the world’s largest internet sites. Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Tomcat. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it easy to use from virtually any programming language. Solr’s powerful external configuration allows it to be tailored to almost any type of application without Java coding, and it has an extensive plugin architecture when more advanced customization is required.

Solr mendukung data lokasi untuk digunakan dalam ruang / pencarian geospasial. Dengan menggunakan pencarian spasial, Anda bisa melakukan :

  • Index points or other shapes
  • Filter search results by a bounding box or circle or by other shapes
  • Sort or boost scoring by distance between points, or relative area between rectangles
  • Generate a 2D grid of facet count numbers for heatmap generation or point-plotting.

Source :

SOLR Data Store

Spatial Search