SOLR is a scalable, distributed and powerful search and indexing solution. SOLR supports indexing spatial data and provides fast search capabilities on spatial data. Unlike conventional spatial data solutions like PostGIS, indexing spatial data in SOLR provides high speed search using bounding box and range queries, commonly used in spatial data exploration and processing. Indexing points and running bounding box queries is covered extensively in Apache SOLR documentation . We will discuss some specific use cases here, described but not explained in the documentation. 1. Indexing Fences in SOLR : SOLR provides a convenient and powerful type, location_rpt which is an implementation of solr.SpatialRecursivePrefixTreeFieldType. location_rpt indexes POINT data, consisting of latitude and longitude. Points are sufficient to index locations that need to be monitored, and that can be done by using bbox or geofile queries as in the documentation. A typical use case in g...
Junked my old tech blog. Here I plan to write about topics relevant to real world implementation of enterprise applications.