-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Description
Is it possible to do a pagination?
I tried the following
SELECT
*
FROM %s
WHERE embedding MATCH vec_quantize_binary(%s)
AND k = %d
LIMIT %d OFFSET %dbut got an error
Only LIMIT or 'k =?' can be provided, not both
I am planning to implement something like this:
SELECT
*
FROM %s
WHERE embedding MATCH vec_quantize_binary(%s)
ORDER BY distance
LIMIT %d OFFSET %dbut wonder. Is there a better way to do it?
Thank you very much!
Metadata
Metadata
Assignees
Labels
No labels