QuestionQ94

VerifiedDesign Applications

A Generative AI Engineer is building the search functionality for an online marketplace to help users quickly find the best options. The following constraints apply:

  • There are currently half a billion listings, and this number changes infrequently.
  • The product team requires an embedding dimension no smaller than 768.
  • Users need the ability to preset certain filters in addition to matching results based on their search query.

How should the engineer configure their search solution?

Explanation

With roughly 500 million listings and an embedding dimension of at least 768, the workload exceeds the capacity of a Standard AI/Vector Search endpoint (which supports approximately 320 million vectors at 768 dimensions) and requires a Storage-Optimized endpoint (which supports over 1 billion vectors at 768 dimensions, with much faster indexing). Storage-Optimized endpoints only support Triggered sync mode (they do not support Continuous sync), which aligns well with data that changes infrequently, since Triggered sync updates the index on demand rather than continuously monitoring for changes. The requirement to let users preset filters alongside their search query corresponds to metadata filtering, which lets you apply SQL-style filter criteria on Delta table columns to narrow the candidate set before/along with the similarity search — distinct from hybrid search, which blends keyword and vector matching within the query itself rather than applying user-selected filter facets. Combining these constraints, a Storage-Optimized vector search endpoint configured with metadata filtering and Triggered sync satisfies scale, embedding-dimension, update-cadence, and filtering requirements.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!