From 2c234de254d3298b15c686a405d187accd11691d Mon Sep 17 00:00:00 2001 From: cuicheng01 Date: Thu, 22 Jul 2021 06:02:45 +0000 Subject: [PATCH] Update vector_search/README_en.md --- deploy/vector_search/README_en.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/vector_search/README_en.md b/deploy/vector_search/README_en.md index b44d41bc..4ab2c7a1 100644 --- a/deploy/vector_search/README_en.md +++ b/deploy/vector_search/README_en.md @@ -81,7 +81,7 @@ query_vector = np.random.rand(128).astype(np.float32) index_docs = ["ID_"+str(i) for i in range(100000)] # Initialize index structure -indexer = Graph_Index(dist_type="IP") #支持"IP"和"L2" +indexer = Graph_Index(dist_type="IP") #support "IP" and "L2" indexer.build(gallery_vectors=index_vectors, gallery_docs=index_docs, pq_size=100, index_path='test') # Query @@ -92,4 +92,4 @@ print(docs) # Save and load indexer.dump(index_path="test") indexer.load(index_path="test") -``` \ No newline at end of file +``` -- GitLab