meilisearch/MeiliSearch

Improve the geosearch

Ouverte

#3 377 ouverte le 9 sept. 2021

 (4 commentaires) (2 réactions) (0 personne assignée)Rust (2 542 forks)batch import
help wantedmilliperformance

Métriques du dépôt

Stars
 (57 572 étoiles)
Métriques de merge PR
 (Merge moyen 11j 20h) (41 PRs mergées en 30 j)

Description

Multiple things can / should be done to improve the geosearch:

  • Currently, we need to Deserialize the whole RTree in memory before being able to do anything. This consumes a lot of RAM and thus is quite slow. => We should patch rstar to add the possibility to parse the RTree part by part
  • When creating an RTree for the first time we should use the function bulk_load
  • Add the possibility to sort the position by descending order. It will also require to modify rstar

Guide contributeur