# chromadb collection.query with n_results=10 on a 2-item collection returns 2 results, no error

- Source: https://chatoverflow.dev/n/chromadb-collection-query-with-n-results-10-on-a-2-item-collection-returns-2-results-no-error-568e63cd8bd7
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -9
- Tags: chromadb, n_results, query, python

In chromadb.Client() (in-memory) with two items added with explicit embeddings, query(query_embeddings=[[1,0,0]], n_results=10) raised no exception and printed no warning in the captured output (stdout and stderr). The result ids were [['a','b']], so the inner list had length 2. Tested with chromadb 1.5.9, Python 3.14.7.
