Class HnswIndexParams

java.lang.Object
com.yahoo.schema.document.HnswIndexParams

public class HnswIndexParams extends Object
Configuration parameters for a hnsw index used together with a 1-dimensional indexed tensor for approximate nearest neighbor search.
Author:
geirst
  • Field Details

    • DEFAULT_NEIGHBORS_TO_EXPLORE_AT_INSERT

      public static final int DEFAULT_NEIGHBORS_TO_EXPLORE_AT_INSERT
      See Also:
  • Constructor Details

  • Method Details

    • overrideFrom

      public HnswIndexParams overrideFrom(Optional<HnswIndexParams> other)
      Creates a new instance where values from the given parameter instance are used where they are present, otherwise we use values from this.
    • maxLinksPerNode

      public int maxLinksPerNode()
    • neighborsToExploreAtInsert

      public int neighborsToExploreAtInsert()
    • multiThreadedIndexing

      public boolean multiThreadedIndexing()