WORLDTECH NEWS Global technology intelligence.Contact
← Back to WORLDTECH

Amazon S3 Vectors now supports metadata pre-filtering for higher recall on filtered searches

Freelance workspace with laptop and various black aromatic candles in glass jars and wooden candlestick placed on wooden table in light room of modern apartment
Illustrative photo.Photo by ready made on PexelsAmazon logo shown for identification only; no affiliation with or endorsement of WORLDTECH is implied.

What happened

You can filter on attributes such as tenant, category, status, or time, and pre-filtering adds prefix matching with $startsWith for paths, URLs, and hierarchical keys. Filters evaluate before similarity search so scoped queries return more relevant results.

Each vector carries up to 2 KB of filterable metadata, and a single query provides support for up to 100 filter constraints. There is no additional cost, no re-ingestion, and no change to your queries.

Most applications never search a whole index. They search the part of it that belongs to a particular user, account, or category, and they express that scope as a metadata filter.

Key facts

  • Each vector carries up to 2 KB of filterable metadata, and a single query — support: up to 100 filter constraints

Sources & evidence