Package io.objectbox.annotation
Annotation Interface HnswFlags
public @interface HnswFlags
Flags as a part of the
HnswIndex
configuration.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Enables debug logs.boolean
Enables "high volume" debug logs, e.g.boolean
If the speed of removing nodes becomes a concern in your use case, you can speed it up by setting this flag.boolean
Padding for SIMD is enabled by default, which uses more memory but may be faster.
-
Element Details
-
debugLogs
boolean debugLogsEnables debug logs.- Default:
- false
-
debugLogsDetailed
boolean debugLogsDetailedEnables "high volume" debug logs, e.g. individual gets/puts.- Default:
- false
-
vectorCacheSimdPaddingOff
boolean vectorCacheSimdPaddingOffPadding for SIMD is enabled by default, which uses more memory but may be faster. This flag turns it off.- Default:
- false
-
reparationLimitCandidates
boolean 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.- Default:
- false
-