Package io.objectbox.model
Class HnswFlags
java.lang.Object
io.objectbox.model.HnswFlags
Flags as a part of the HNSW configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEnables debug logs.static final intEnables "high volume" debug logs, e.g.static final intIf the speed of removing nodes becomes a concern in your use case, you can speed it up by setting this flag.static final intPadding for SIMD is enabled by default, which uses more memory but may be faster. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DebugLogs
public static final int DebugLogsEnables debug logs.- See Also:
-
DebugLogsDetailed
public static final int DebugLogsDetailedEnables "high volume" debug logs, e.g. individual gets/puts.- See Also:
-
VectorCacheSimdPaddingOff
public static final int VectorCacheSimdPaddingOffPadding for SIMD is enabled by default, which uses more memory but may be faster. This flag turns it off.- See Also:
-
ReparationLimitCandidates
public static final int ReparationLimitCandidatesIf 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:
-
-
Constructor Details
-
HnswFlags
private HnswFlags()
-