Fix query JSON example (#1016)

* Fix query JSON example

* fix query in blog qdrant-1.10.x.md

---------

Co-authored-by: Anush <anushshetty90@gmail.com>
This commit is contained in:
Arnaud Gourlay
2024-07-10 14:06:54 +02:00
committed by GitHub
co-authored by Anush
parent 63a144b0f1
commit 7c72dd4095
2 changed files with 12 additions and 12 deletions
+6 -6
View File
@@ -71,12 +71,12 @@ POST /collections/{collection_name}/points/query
"values": [0.22, 0.8] // <┴─sparse vector
},
"using": "sparse",
"limit": 20,
"limit": 20
},
{
"query": [0.01, 0.45, 0.67, ...], // <-- dense vector
"using": "dense",
"limit": 20,
"limit": 20
}
],
"query": { "fusion": "rrf" }, // <--- reciprocal rank fusion
@@ -299,12 +299,12 @@ POST /collections/{collection_name}/points/query
"prefetch": {
"prefetch": {
"query": [1, 23, 45, 67], // <------ small byte vector
"using": "mrl_byte"
"limit": 1000,
"using": "mrl_byte",
"limit": 1000
},
"query": [0.01, 0.45, 0.67, ...], // <-- full dense vector
"using": "full"
"limit": 100,
"using": "full",
"limit": 100
},
"query": [ // <─┐
[0.1, 0.2, ...], // < │
@@ -48,12 +48,12 @@ POST /collections/{collection_name}/points/query
"values": [0.22, 0.8] // <┴─sparse vector
},
"using": "sparse",
"limit": 20,
"limit": 20
},
{
"query": [0.01, 0.45, 0.67, ...], // <-- dense vector
"using": "dense",
"limit": 20,
"limit": 20
}
],
"query": { "fusion": "rrf" }, // <--- reciprocal rank fusion
@@ -222,7 +222,7 @@ POST /collections/{collection_name}/points/query
"prefetch": {
"query": [1, 23, 45, 67], // <------------- small byte vector
"using": "mrl_byte"
"limit": 1000,
"limit": 1000
},
"query": [0.01, 0.299, 0.45, 0.67, ...], // <-- full vector
"using": "full",
@@ -340,7 +340,7 @@ POST /collections/{collection_name}/points/query
{
"prefetch": {
"query": [0.01, 0.45, 0.67, ...], // <-- dense vector
"limit": 100,
"limit": 100
},
"query": [ // <─┐
[0.1, 0.2, ...], // < │
@@ -482,11 +482,11 @@ POST /collections/{collection_name}/points/query
"prefetch": {
"query": [1, 23, 45, 67], // <------ small byte vector
"using": "mrl_byte"
"limit": 1000,
"limit": 1000
},
"query": [0.01, 0.45, 0.67, ...], // <-- full dense vector
"using": "full"
"limit": 100,
"limit": 100
},
"query": [ // <─┐
[0.1, 0.2, ...], // < │