meilisearch / meilisearch/cellulite
Improve search performances
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 18
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Points inserted in 7971.489929667s
Found 1725 stores in Le Vigan in 4.601183ms
Found 30942 stores in Nîmes in 12.080573ms
Found 298270 stores in Gard in 313.513845ms
Found 2454224 stores in Occitanie in 2.763677925s
2.7s is unacceptable.
Must be profiled to be sure, but a first optimization idea would be to guess the size of the queried shape and tile the query instead of the cells until the query takes more than like 6-10 cells.
Once that happens, it’s better to tiles the individual cells instead of the shape.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by profiling the search path responsible for the reported timings, especially the 2.7-second Occitanie query. Compare querying the shape with tiling individual cells, using the reported cell-count threshold as the proposed direction; done means a measured improvement over the current search performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases, performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100