-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP 500 when vector search w/ no limit #1700
Labels
Bug
Something isn't working
Comments
It is the same API Command object as used in Collections, so it should have the default, so something is wrong in the way we are setting the limit for the FindCommandResolver in this case. Repo:
|
CQL that ran:
|
Fix coming... request {
"find": {
"filter": {"key": "doc 1"},
"sort":
{
"comment_vector": [0.45, 0.09, 0.01, 0.2, 0.11]
}
}
} response: {
"data": {
"documents": [
{
"comment_vector": [
0.45,
0.09,
0.01,
0.2,
0.11
],
"comment": "comment about cheese and monkeys",
"key": "doc 1"
}
],
"nextPageState": null
},
"status": {
"projectionSchema": {
"comment_vector": {
"type": "vector",
"dimension": 5
},
"comment": {
"type": "text"
},
"key": {
"type": "text"
}
}
}
} cql
Uses same default as the collection code |
amorton
added a commit
that referenced
this issue
Nov 13, 2024
using the same configured AN find limit as collections, which is currently 1k
4 tasks
amorton
added a commit
that referenced
this issue
Nov 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When doing a
table.find({}, { sort: { vector: ... } })
on an indexed vector column w/out an explicit limit set:DataAPIHttpError: HTTP error (500):
The text was updated successfully, but these errors were encountered: