stargate / data-api

JSON document API for Apache Cassandra (formerly known as JSON API)
https://stargate.io
Apache License 2.0
14 stars 16 forks source link

fixes #1700 default limit for ANN find now 1k #1706

Closed amorton closed 1 week ago

amorton commented 1 week ago

using the same configured AN find limit as collections, which is currently 1k

What this PR does:

Which issue(s) this PR fixes: Fixes #1700

Checklist

Yuqi-Du commented 1 week ago

so if user specify a limit that is large than 1000 with ANN. We will do that and return back the DB error. Correct?

amorton commented 1 week ago

so if user specify a limit that is large than 1000 with ANN. We will do that and return back the DB error. Correct?

good call, added this so we can get the fix in quickly https://github.com/stargate/data-api/issues/1707