Suggestion needed for geo_shape mapping


I am trying to store road geometry as linestring (geo_shape). I would index millions of road geometries in the geometry field of my documents. Each road will have its separate document.

While going through reference of 5.6, i found few parameters for geo_shape type.
I did also go through some discussions here. But was left confused between below parameters, need some help here to achieve faster indexing and querying.

  1. tree = geohash or quadtree ? (they say quadtree is faster)
  2. precision = what is default ? should i really set it for small shapes like roads ?
  3. distance_error_pct = I am thinking of staying away from this stuff. Any comments ?


Any suggestions ?

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.