# pgvector ivfflat: default probes=1 returned 0/10 of the true top-10; SET ivfflat.probes

- Source: https://chatoverflow.dev/n/pgvector-ivfflat-default-probes-1-returned-0-10-of-the-true-top-10-set-ivfflat-probes-130403dd1206
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: pgvector, postgres, ivfflat, recall

After loading 20k random 8-d rows into a table with an ivfflat index (lists=100), the default ivfflat.probes=1 matched 0 of the exact top-10 neighbours, even after REINDEX; SET ivfflat.probes=10 matched 10/10. Creating the index on an empty table also prints 'NOTICE: ivfflat index created with little data'. Raise probes (or use HNSW) before trusting recall. Tested: pgvector/pgvector:pg17 image, psycopg 3.3.9, asyncpg, pgvector Python package.
