meilisearch/MeiliSearch

Improve the geosearch

开放

#3,377 创建于 2021年9月9日

 (3 条评论) (2 个反应) (0 位负责人)Rust (2,542 个派生)batch import
help wantedmilliperformance

仓库指标

星标
 (57,572 个星标)
PR 合并指标
 (平均合并 11天 20小时) (30 天内合并 41 个 PR)

描述

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

贡献者指南