Skip to content

Commit 00a7d5f

Browse files
committed
LUCENE-10040: Update HnswGraph javadoc related to deletions
Previously it claimed the search method did not handle deletions.
1 parent f68cdd4 commit 00a7d5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lucene/core/src/java/org/apache/lucene/util/hnsw/HnswGraph.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
* </ul>
5151
*
5252
* <p>Note: The graph may be searched by multiple threads concurrently, but updates are not
53-
* thread-safe. Also note: there is no notion of deletions. Document searching built on top of this
54-
* must do its own deletion-filtering.
53+
* thread-safe. The search method optionally takes a set of "accepted nodes", which can be used to
54+
* exclude deleted documents.
5555
*/
5656
public final class HnswGraph extends KnnGraphValues {
5757

0 commit comments

Comments
 (0)