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.
- tree = geohash or quadtree ? (they say quadtree is faster)
- precision = what is default ? should i really set it for small shapes like roads ?
- distance_error_pct = I am thinking of staying away from this stuff. Any comments ?