Apache Lucene open-source search software
LUCENE-10040: Update HnswGraph javadoc related to deletions
Julie Tibshirani9b6d417d1cae
diff --git a/lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraph.java b/lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraph.javaindex 511f889c60b..9af10170803 100644--- a/lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraph.java+++ b/lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraph.java@@ -50,8 +50,8 @@ import org.apache.lucene.util.SparseFixedBitSet;* </ul>** <p>Note: The graph may be searched by multiple threads concurrently, but updates are not- * thread-safe. Also note: there is no notion of deletions. Document searching built on top of this- * must do its own deletion-filtering.+ * thread-safe. The search method optionally takes a set of "accepted nodes", which can be used to+ * exclude deleted documents.*/public final class HnswGraph extends KnnGraphValues {