You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the total index size is fairly small relative to the parameter k, it appears that query() and query_with_features() can return fewer than k neighbors. Should there be a warning or error thrown when this happens?
The text was updated successfully, but these errors were encountered:
It looks like the number of partitions and number of hops plays a role, which makes sense. If there are too many partitions and saltatlas cannot find k neighbors within hops neighboring partitions it seems to return whatever it does find. This is probably an edge case, but I feel that we should throw a warning or something when this happens.
When the total index size is fairly small relative to the parameter
k
, it appears thatquery()
andquery_with_features()
can return fewer thank
neighbors. Should there be a warning or error thrown when this happens?The text was updated successfully, but these errors were encountered: