meilisearch/MeiliSearch

Improve the geosearch

Aberta

#3.377 aberto em 9 de set. de 2021

 (4 comentários) (2 reações) (0 responsável)Rust (2.542 forks)batch import
help wantedmilliperformance

Métricas do repositório

Stars
 (57.572 estrelas)
Métricas de merge de PR
 (Mesclagem média 11d 20h) (41 fundiu PRs em 30d)

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

Guia do colaborador