Skip to content

Rebuild index around shared Files and meta-driven snapshots - #239

Open
botirkhaltaev wants to merge 1 commit into
masterfrom
botir/index-rewrite
Open

Rebuild index around shared Files and meta-driven snapshots#239
botirkhaltaev wants to merge 1 commit into
masterfrom
botir/index-rewrite

Conversation

@botirkhaltaev

Copy link
Copy Markdown
Owner

Summary

  • Replace the index trait/destination/config surface with four public entities (StoreMeta, IndexRecord, Files, Indexes) and a private Opened query enum.
  • Move shared files.bin (SIFTFIL2) to the snapshot root; kinds write only kind artifacts under snapshots/<id>/<kind>/, with Indexes::build() as a full meta-driven rebuild (no incremental update / grams.bin).
  • Update CLI refresh, candidates, benches, tests, fuzz, and AGENTS/READMEs for the new layout.

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --workspace --all-features
  • CI green on Linux/macOS/Windows

Drop Index trait, incremental update, and destination/config twins; kinds write only kind artifacts under snapshot namespaces, with full rebuild as the only publish path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant