Package io.objectbox.model
Class HnswFlags
- java.lang.Object
-
- io.objectbox.model.HnswFlags
-
public final class HnswFlags extends java.lang.ObjectFlags as a part of the HNSW configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static intDebugLogsEnables debug logs.static intDebugLogsDetailedEnables "high volume" debug logs, e.g.static intReparationLimitCandidatesIf the speed of removing nodes becomes a concern in your use case, you can speed it up by setting this flag.static intVectorCacheSimdPaddingOffPadding for SIMD is enabled by default, which uses more memory but may be faster.
-
Constructor Summary
Constructors Modifier Constructor Description privateHnswFlags()
-
-
-
Field Detail
-
DebugLogs
public static final int DebugLogs
Enables debug logs.- See Also:
- Constant Field Values
-
DebugLogsDetailed
public static final int DebugLogsDetailed
Enables "high volume" debug logs, e.g. individual gets/puts.- See Also:
- Constant Field Values
-
VectorCacheSimdPaddingOff
public static final int VectorCacheSimdPaddingOff
Padding for SIMD is enabled by default, which uses more memory but may be faster. This flag turns it off.- See Also:
- Constant Field Values
-
ReparationLimitCandidates
public static final int ReparationLimitCandidates
If the speed of removing nodes becomes a concern in your use case, you can speed it up by setting this flag. By default, repairing the graph after node removals creates more connections to improve the graph's quality. The extra costs for this are relatively low (e.g. vs. regular indexing), and thus the default is recommended.- See Also:
- Constant Field Values
-
-