From 0db917062d3484e5a5e5b3f898513c6245ee7659 Mon Sep 17 00:00:00 2001 From: andrey Date: Mon, 8 Jan 2024 18:01:09 +0000 Subject: [PATCH] =?UTF-8?q?Update=20Blog=20=E2=80=9Cbatch-vector-search-wi?= =?UTF-8?q?th-qdrant=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../content/blog/batch-vector-search-with-qdrant.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qdrant-landing/content/blog/batch-vector-search-with-qdrant.md b/qdrant-landing/content/blog/batch-vector-search-with-qdrant.md index b1ba45ed1..1bcca8e6a 100644 --- a/qdrant-landing/content/blog/batch-vector-search-with-qdrant.md +++ b/qdrant-landing/content/blog/batch-vector-search-with-qdrant.md @@ -39,7 +39,7 @@ client.recreate_collection( collection_name="test_collection", vectors_config=VectorParams(size=4, distance=Distance.EUCLID), ) -``` +``` # Loading the vectors @@ -62,7 +62,7 @@ client.upload_collection( collection_name="test_collection", vectors=vectors, ) -``` +``` # Batch search in a single request @@ -93,7 +93,7 @@ results = client.search_batch( # payload=None, vector=[0.0, 0.1, 0.0, 0.0])] # ] -``` +``` Each instance of the SearchRequest class may provide its own search parameters, including vector query but also some additional filters. The response will be a list of individual results for each request. In case any of the requests is malformed, there will be an exception thrown, so either all of them pass or none of them.