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
If you query a collection that has fewer items than the number of items you requested, you get a WARNING-level log, which is kind of scary for the behavior:
10:01:26.794 | WARNING | chromadb.segment.impl.vector.local_hnsw - Number of requested results 10 is greater than number of elements in index 1, updating n_results = 1
The log is defined here. Usually, a WARNING log means "Something unexpected happened, and things don't seem to be broken, but they might be." (e.g. not INFO but not yet an ERROR).
I recognize this is a bit subjective, which is why I'm opening an issue rather than a PR, but to me this is a debug log at best. As a user, the fact that I'm only going to get one result from a collection that contains one item is hardly surprising and not something I expected to be "warned" about.
Versions
Chroma 0.5.7
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
What happened?
If you query a collection that has fewer items than the number of items you requested, you get a
WARNING
-level log, which is kind of scary for the behavior:The log is defined here. Usually, a
WARNING
log means "Something unexpected happened, and things don't seem to be broken, but they might be." (e.g. not INFO but not yet an ERROR).I recognize this is a bit subjective, which is why I'm opening an issue rather than a PR, but to me this is a debug log at best. As a user, the fact that I'm only going to get one result from a collection that contains one item is hardly surprising and not something I expected to be "warned" about.
Versions
Chroma 0.5.7
Relevant log output
No response
The text was updated successfully, but these errors were encountered: