

VectorFilePaths
- Namespace
- Rowles.LeanCorpus.Codecs.Vectors
- Assembly
- Rowles.LeanCorpus.dll
Helpers for resolving per-field vector and HNSW file paths within a segment.
Convention: "{segmentId}v{sanitisedFieldName}.{ext}" so multiple vector fields
can co-exist in one segment without colliding with the legacy single-vector layout.
internal static class VectorFilePaths
VectorFilePaths
HnswFile(string, string)
Returns the per-field .hnsw file path.
Sanitise(string)
Returns a filesystem-safe representation of fieldName.
Unsafe names receive a hash suffix so different names cannot collapse to the same path.
VectorFile(string, string)
Returns the per-field .vec file path.