BTree scalar index on id for business index tables
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
Research direction
Start in core/persistence/lancedb/repository.py, at the TODO beside ensure_business_indexes and the rebuild_indexes() loop, then find where cascade rebuild calls into them. Before adding a BTree scalar index on id, the rebuild path must cover scalar indexes, and index-directory growth under real write cadence must be measured. Done means a BTree on id exists on the business tables, explain_plan shows ScalarIndexQuery for id lookups, and the growth check is recorded.
Written by the indexing model from the issue text.
Description
No scalar index exists on any LanceDB business table; every WHERE id = … lookup and every merge_insert match is a full scan. Measured on 100k rows (lancedb 0.34, 2026-10-09): scoped point lookup 3.6 ms → 0.8 ms and a 100-row multi-column merge_insert 11.2 ms → 3.6 ms with a BTree on id (explain_plan shows ScalarIndexQuery).
Not urgent — cascade per-file time is dominated by embedding calls — but a real win. Prerequisites before adding it: wire scalar indexes into the rebuild_indexes() loop and cascade rebuild, and verify index-directory growth under the real write cadence (see the index-UUID bloat note in core/persistence/lancedb/repository.py).
A TODO next to ensure_business_indexes points here.
- Dominant language
- Python
- Stars
- 13.3k
- Forks
- 926
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 57
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from EverMind-AI/EverOS
-
Difficulty 2/5 Half a day Newbie friendliness 62/100
EverMind-AI/EverOS#414 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 18/100
EverMind-AI/EverOS#629 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug] _validate rejects LLM replies wrapped in a markdown code fence; json_object/prompt_only unusable with fence-emitting modelsPossibly taken @2030XiaoGe claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 22/100
EverMind-AI/EverOS#627 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
EverMind-AI/EverOS#558 · 1 comment ·
Maintainers usually reply within 1 day
-
memorize(): make delivery resumable per memcell so retries and replays are idempotentPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
EverMind-AI/EverOS#516 · 1 comment ·
Maintainers usually reply within 1 day
All issues in EverMind-AI/EverOS
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ActivityWatch/docs#223 ·
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier capturePossibly taken @jianyx1 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
volcengine/OpenViking#8354 ·
Maintainers usually reply within 1 day
-
comp/tools P2 tool/skills type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#159541 ·
Maintainers usually reply within 1 day
-
bot-triaged module: correctness (silent) module: cpu module: empty tensor module: loss triage review
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
request-theme
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
LizardByte/ThemerrDB#10167 · 1 comment ·