From 4ba718b41249e25128bb21ead6076d3d0a748bf1 Mon Sep 17 00:00:00 2001 From: Joanie Gannon Date: Fri, 31 Mar 2023 20:07:28 -0400 Subject: [PATCH] I found some more --- ann/src/main/java/com/twitter/ann/hnsw/HnswIndex.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ann/src/main/java/com/twitter/ann/hnsw/HnswIndex.java b/ann/src/main/java/com/twitter/ann/hnsw/HnswIndex.java index 2f9c91409..bf204d204 100644 --- a/ann/src/main/java/com/twitter/ann/hnsw/HnswIndex.java +++ b/ann/src/main/java/com/twitter/ann/hnsw/HnswIndex.java @@ -34,7 +34,7 @@ import com.twitter.mediaservices.commons.codec.ArrayByteBufferCodec; import com.twitter.search.common.file.AbstractFile; /** - * Typed multithreaded HNSW implementation supporting creation/querying of approximate nearest neighbour + * Typed multithreaded HNSW implementation supporting creation/querying of approximate nearest neighbours * Paper: https://arxiv.org/pdf/1603.09320.pdf * Multithreading impl based on NMSLIB version : https://github.com/nmslib/hnsw/blob/master/hnswlib/hnswalg.h * @@ -379,7 +379,7 @@ public class HnswIndex { * This will reduce the recall. *

* For a full explanation of locking see this document: http://go/hnsw-locking - * The method returns the closest nearest neighbor (can be used as an enter point) + * The method returns the closest nearest neighbours (can be used as an enter point) */ private T mutuallyConnectNewElement( final T item,