Annotation Interface HnswFlags


public @interface HnswFlags
Flags as a part of the HnswIndex configuration.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    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 debugLogs
      Enables debug logs.
      Default:
      false
    • debugLogsDetailed

      boolean debugLogsDetailed
      Enables "high volume" debug logs, e.g. individual gets/puts.
      Default:
      false
    • vectorCacheSimdPaddingOff

      boolean vectorCacheSimdPaddingOff
      Padding for SIMD is enabled by default, which uses more memory but may be faster. This flag turns it off.
      Default:
      false
    • reparationLimitCandidates

      boolean 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.
      Default:
      false