Skip to content

[geo indexing] Geo payload indexes #362

Closed

Description

@agourlay

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.

{
  "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

  1. self-assigned this
    on Mar 2, 2022
  2. linked a pull request that will close this issueindex geo payload #366on Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions