

VectorFilePaths
- Namespace
- Rowles.LeanLucene.Codecs.Vectors
- Assembly
- Rowles.LeanLucene.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. Replaces any
character that is not ASCII letter/digit with an underscore.
VectorFile(string, string)
Returns the per-field .vec file path.