mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
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:
@@ -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, ...], // < │
|
||||
|
||||
Reference in New Issue
Block a user