Skip to navigation

Product search

Product catalogs need both meaning and exact filters. Store the embedding in values, searchable copy in sparse_text, and inventory fields in metadata.

{
"id": "sku-842",
"values": [0.12, 0.18],
"sparse_text": "women waterproof trail running shoe",
"metadata": {"brand": "Norte", "size": 39, "in_stock": true, "price": 129}
}

Query with hybrid and filter in_stock plus a price ceiling. The response returns the product ID and metadata needed to render results without another lookup.