{"@attributes":{"version":"2.0"},"channel":{"title":"Redis vector sets on Docs","link":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/","description":"Recent content in Redis vector sets on Docs","generator":"Hugo","language":"en","item":[{"title":"Filter expressions","link":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/filtered-search\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/filtered-search\/","description":"<h2 id=\"overview\" class=\"group relative\">\n  Overview\n  <a href=\"#overview\" class=\"header-link opacity-0 group-hover:opacity-100 transition-opacity duration-200 ml-1 align-baseline\" aria-label=\"Link to this section\" title=\"Copy link to clipboard\">\n    <svg class=\"inline-block w-4 h-4 align-baseline\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n      <path fill-rule=\"evenodd\" d=\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\" clip-rule=\"evenodd\"><\/path>\n    <\/svg>\n  <\/a>\n<\/h2>\n<p>Filtered search lets you combine vector similarity search with scalar filtering. You can associate JSON attributes with elements in a vector set, and then filter results using those attributes during <a href=\"https:\/\/redis.io\/docs\/latest\/commands\/vsim\/\"><code>VSIM<\/code><\/a> queries.<\/p>"},{"title":"Performance","link":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/performance\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/performance\/","description":"<h2 id=\"query-performance\" class=\"group relative\">\n  Query performance\n  <a href=\"#query-performance\" class=\"header-link opacity-0 group-hover:opacity-100 transition-opacity duration-200 ml-1 align-baseline\" aria-label=\"Link to this section\" title=\"Copy link to clipboard\">\n    <svg class=\"inline-block w-4 h-4 align-baseline\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n      <path fill-rule=\"evenodd\" d=\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\" clip-rule=\"evenodd\"><\/path>\n    <\/svg>\n  <\/a>\n<\/h2>\n<p>Vector similarity queries using the <a href=\"https:\/\/redis.io\/docs\/latest\/commands\/vsim\/\"><code>VSIM<\/code><\/a> are threaded by default. Redis uses up to 32 threads to process these queries in parallel.<\/p>"},{"title":"Scalability","link":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/scalability\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/scalability\/","description":"<h2 id=\"multi-instance-scalability\" class=\"group relative\">\n  Multi-instance scalability\n  <a href=\"#multi-instance-scalability\" class=\"header-link opacity-0 group-hover:opacity-100 transition-opacity duration-200 ml-1 align-baseline\" aria-label=\"Link to this section\" title=\"Copy link to clipboard\">\n    <svg class=\"inline-block w-4 h-4 align-baseline\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n      <path fill-rule=\"evenodd\" d=\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\" clip-rule=\"evenodd\"><\/path>\n    <\/svg>\n  <\/a>\n<\/h2>\n<p>Vector sets can scale horizontally by sharding your data across multiple Redis instances. This is done by partitioning the dataset manually across keys and nodes.<\/p>"},{"title":"Memory optimization","link":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/memory\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/memory\/","description":"<h2 id=\"overview\" class=\"group relative\">\n  Overview\n  <a href=\"#overview\" class=\"header-link opacity-0 group-hover:opacity-100 transition-opacity duration-200 ml-1 align-baseline\" aria-label=\"Link to this section\" title=\"Copy link to clipboard\">\n    <svg class=\"inline-block w-4 h-4 align-baseline\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n      <path fill-rule=\"evenodd\" d=\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\" clip-rule=\"evenodd\"><\/path>\n    <\/svg>\n  <\/a>\n<\/h2>\n<p>Redis vector sets are efficient, but vector similarity indexing and graph traversal require memory tradeoffs. This guide helps you manage memory use through quantization, graph tuning, and attribute choices.<\/p>"},{"title":"Troubleshooting","link":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/troubleshooting\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/redis.io\/docs\/latest\/develop\/data-types\/vector-sets\/troubleshooting\/","description":"<h2 id=\"common-challenges\" class=\"group relative\">\n  Common challenges\n  <a href=\"#common-challenges\" class=\"header-link opacity-0 group-hover:opacity-100 transition-opacity duration-200 ml-1 align-baseline\" aria-label=\"Link to this section\" title=\"Copy link to clipboard\">\n    <svg class=\"inline-block w-4 h-4 align-baseline\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n      <path fill-rule=\"evenodd\" d=\"M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z\" clip-rule=\"evenodd\"><\/path>\n    <\/svg>\n  <\/a>\n<\/h2>\n<p>Vector sets are approximate by design. That makes debugging trickier than with exact match queries. This section helps you understand issues with recall, filtering, and graph structure.<\/p>"}]}}