OBXHnswFlags class sealed
Bit-flags to influence the behavior of HNSW index (vector search).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- DebugLogs → const int
- Enables debug logs.
- DebugLogsDetailed → const int
- Enables "high volume" debug logs, e.g. individual gets/puts.
- LateInit → const int
- Allows indexing vectors whose dimensions (and other index parameters) are only known at runtime, not at build time; e.g. if the embedding model is chosen at runtime. The index parameters are given after the store was opened ("late") via obx_store_hnsw_index_init(); the other index parameters of the model are then not needed. Until the first init call, putting objects of the type and nearest neighbor queries throw; reading and removing objects and other queries work. The parameters are persisted, and later sessions use them without another init call; other parameters can be given in a later session before the index is used (e.g. for another embedding model; see the init function).
- None → const int
- VectorCacheSimdPaddingOff → const int
- Padding for SIMD is enabled by default, which uses more memory but may be faster. This flag turns it off.