Build and persist dedicated indexes for geo. payload. This feature needs to support two use cases: - cardinality estimation per geohash. - lookup points ids by geohash. ## cardinality estimation Given a set of points with geo. payload, we can build a lookup structure with increasing geohash precision. e.g. with 100k points within the `u` top region. ```json { "u": 100000, "u4": 100000, "u4p": 90000, "u4pr": 50000, } ``` ## points lookup Given a set of points with geo. payload determinate a geohash precision such that a single region contains at most 10k points to optimize lookups. ``` { "u4pru": [less than 10k point ids], "u4prd": [less than 10k point ids], "u4pre": [less than 10k point ids], "u4pra": [less than 10k point ids], } ``` ## out of scope Indexes do not support updates.
Activity