namespace AIStudio.Tools.Databases;
///
/// The chunks of one document which no search may find.
///
///
/// A document is searched by the generation its index row names, and only once that generation is
/// complete. Indexing it again writes the next generation next to it, and an attempt which failed
/// may stay there afterward, so the next one can reuse its vectors, cf. IndexedRunContext. A
/// document indexed for the first time has no searchable generation until its first one is
/// complete. The index store knows all of this, and the vector store leaves out what it names.
///
/// The parent id of the document.
/// The generation which can be searched, so every other one is hidden. Null while the document has none, so all of its chunks are hidden.
public sealed record HiddenChunks(string ParentFileId, int? SearchableGeneration);