Class HnswFlags

java.lang.Object
io.objectbox.model.HnswFlags

public final class HnswFlags extends Object
Flags as a part of the HNSW configuration.
  • Field Details

    • DebugLogs

      public static final int DebugLogs
      Enables debug logs.
      See Also:
    • DebugLogsDetailed

      public static final int DebugLogsDetailed
      Enables "high volume" debug logs, e.g. individual gets/puts.
      See Also:
    • 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:
    • 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:
  • Constructor Details

    • HnswFlags

      private HnswFlags()