- Lucene for doc index (lat and long)
- Search queries of Zillow envelopes with Lucene
- Credit https://github.com/ahinz/scala-shapefile for parsing shp files
- sbt clean; sbt assembly
- scala -J-Xmx6144m -cp target/scala-2.11/geosearch-assembly-0.0.1.jar geo.Main (take ~60mins to search all docs forall ~17k neighbors)
- scala -J-Xmx6144m -cp target/scala-2.11/geosearch-assembly-0.0.1.jar geo.Main reindex (takes ~30 mins to index ~72000000 docs and ~60mins to search all docs forall ~17k neighbors)