Interface HnswGraphProvider

  • All Known Implementing Classes:

    public interface HnswGraphProvider
    An interface that provides an HNSW graph. This interface is useful when gathering multiple HNSW graphs to bootstrap segment merging. The graph may be off the JVM heap.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Method Detail

      • getGraph

        HnswGraph getGraph​(String field)
                    throws IOException
        Return the stored HnswGraph for the given field.
        field - the field containing the graph
        the HnswGraph for the given field if found
        IOException - when reading potentially off-heap graph fails