Skip to content

Understanding Ranged Search #36313

Closed Answered by yhmo
ivhacks asked this question in Q&A and General discussion
Sep 17, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

There is a small bug for restful search api, it cannot accept ""searchParams"".
You can set the rage like this:

curl --location --request POST "http://localhost:19530/v2/vectordb/entities/search" \
--header "Content-Type: application/json" \
--data-raw '{
    "collectionName": "colors",
    "data": [
        [0, 255, 0]
    ],
    "annsField": "vector",
    "params": {
        "radius": 14400
    },
    "limit": 1000,
    "outputFields": [
        "vector"
    ]
}'

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ivhacks
Comment options

@yhmo
Comment options

Answer selected by ivhacks
@ivhacks
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants