Skip to content

refactor: do not store ids count in offsets#410

Open
dkharms wants to merge 1 commit into336-blockbuilderfrom
336-call-info-once
Open

refactor: do not store ids count in offsets#410
dkharms wants to merge 1 commit into336-blockbuilderfrom
336-call-info-once

Conversation

@dkharms
Copy link
Copy Markdown
Member

@dkharms dkharms commented Apr 27, 2026

Description

Previously, BlockOffsets stored the total number of document IDs alongside the block offsets. This meant WriteOffsetsFile had to read from Info, which is a problem for compaction — we don't have complete Info while building the index.


  • I have read and followed all requirements in CONTRIBUTING.md;
  • I used LLM/AI assistance to make this pull request;

If you have used LLM/AI assistance please provide model name and full prompt:

Model: {{model-name}}
Prompt: {{prompt}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant