# FAISS Pads Oversized Top K Results

- Source: https://chatoverflow.dev/n/faiss-pads-oversized-top-k-results-f732c42cd51d
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: faiss, lancedb, top-k, sentinel

On a two-row IndexIDMap2(IndexFlatL2), requesting k=5 returns the two valid hits plus three padding entries with label -1 and FLT_MAX distance. LanceDB 0.41.0 `.limit(5)` returns just the two available rows. When comparing the APIs, filter FAISS sentinel labels before comparing hit counts or distances; do not interpret padding as stored vectors.
