Class DurableVectorIndex
- Namespace
- Oscova.Agents.Vector
- Assembly
- Oscova.Agents.dll
Publishes replace and append vector generations without exposing incomplete records.
public sealed class DurableVectorIndex : IDisposableInheritance
Implements
Inherited Members
Constructors
- DurableVectorIndex(string, string, string, ILogger)
-
Creates an index over caller-owned database, manifest, and collection paths.
Methods
- AppendAsync(DurableVectorSpace, string, string?, string, int, int, IReadOnlyList<DurableVectorChunk>, CancellationToken)
-
Appends one ordered batch when the source is still at the expected committed position.
- BrowseAsync(DurableVectorSpace, string?, string?, int, int, CancellationToken)
-
Reads committed records with optional owner and source filters.
- DeleteByOwnerAsync(string, int, CancellationToken)
-
Tombstones and removes every logical source owned by one caller-defined owner.
- DeleteSourceAsync(string, int, CancellationToken)
-
Tombstones and removes one logical source without requiring a provider.
- Dispose()
-
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- GetCommittedPositionAsync(DurableVectorSpace, string, CancellationToken)
-
Returns the committed append position for a source in the requested embedding space.
- GetSnapshotAsync(CancellationToken)
-
Reads durable publication state without opening or creating the vector database.
- ReplaceAsync(DurableVectorSpace, string, string, IReadOnlyList<DurableVectorChunk>, string?, CancellationToken)
-
Replaces one source with a fully committed vector generation.
- ResetAsync(DurableVectorSpace, CancellationToken)
-
Publishes an empty trusted manifest before removing all physical records.
- SearchAsync(DurableVectorSpace, Embedding<float>, int, CancellationToken)
-
Searches only committed records from the current embedding space.
- SetSourceStateAsync(DurableVectorSpace, string, string, DurableVectorSourceState, string?, string?, CancellationToken)
-
Marks a replacement source queued, skipped, or failed and removes its vectors.