[neighborhoods] adjust cache size when building neighborhoods index

This commit is contained in:
Al
2016-12-13 16:11:42 -05:00
parent 40cd86c3be
commit 6b04711195

View File

@@ -261,6 +261,7 @@ class NeighborhoodReverseGeocoder(RTreePolygonIndex):
country_rtree = OSMCountryReverseGeocoder.load(country_rtree_dir)
osm_admin_rtree = OSMReverseGeocoder.load(osm_rtree_dir)
osm_admin_rtree.cache_size = 10000
logger.info('Creating IDF index')
idf = IDFIndex()