Repository navigation
v0.4.0
Headline: LMDB → BBolt storage migration
The storage backend moved from LMDB (cgo) to BBolt (pure Go) — no more C dependency, simpler builds, fully portable.
Chunker enhancements
FileChunkerinterface for binary formats — reads the file directly with hash-based skip, distinct from the content-basedChunker.- AppendAware chunkers with
ErrAppendBoundaryguard, enabling correct incremental>>-style appends. ChunkerMetadataoptional interface for chunkers to surface metadata.- Chunk locator and refcounted C-record fileids (a chunk's content can be shared across files via dedup).
DB.SetFileLength.
API
- Exported
ReadCRecordfor power-user CRecord lookups.
Cleanup
- Retired stale bigram requirements (the bigram index was removed earlier; SearchFuzzy's trigram OR-union covers typo tolerance).
- A per-chunker content-transform hook was introduced and then fully retired within this cycle — the trigram index stays full-text (indexed verbatim; nothing stripped).
Full diff: v0.3.0...v0.4.0