<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Day 2: Indexing and Performance on Qdrant - Vector Database</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/</link><description>Recent content in Day 2: Indexing and Performance on Qdrant - Vector Database</description><generator>Hugo</generator><language>en-us</language><managingEditor>info@qdrant.tech (Andrey Vasnetsov)</managingEditor><webMaster>info@qdrant.tech (Andrey Vasnetsov)</webMaster><atom:link href="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/index.xml" rel="self" type="application/rss+xml"/><item><title>HNSW Indexing Fundamentals</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/what-is-hnsw/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>info@qdrant.tech (Andrey Vasnetsov)</author><guid>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/what-is-hnsw/</guid><description>&lt;div class="date">
 &lt;img class="date-icon" src="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/icons/outline/date-blue.svg" alt="Calendar" /> Day 2 
&lt;/div>

&lt;h1 id="hnsw-indexing-fundamentals">HNSW Indexing Fundamentals&lt;/h1>
&lt;p>At this point, you&amp;rsquo;ve learned how vector search retrieves the nearest vectors to a query using cosine similarity, dot product, or Euclidean distance. How does this work at scale?&lt;/p>
&lt;div class="video">
&lt;iframe 
 src="https://www.youtube.com/embed/-q-pLgGDYr4?si=Ln0WYymciqPxQKJl"
 frameborder="0"
 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
 referrerpolicy="strict-origin-when-cross-origin"
 allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;h2 id="why-vector-search-needs-indexing">Why Vector Search Needs Indexing&lt;/h2>
&lt;h3 id="the-vector-search-challenge">The Vector Search Challenge&lt;/h3>
&lt;p>You might wonder if Qdrant calculates the distance to every single vector in your collection for each query. This method, known as brute force search, technically works but with millions or billions of vectors this is too slow per query.&lt;/p></description></item><item><title>Combining Vector Search and Filtering</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/filterable-hnsw/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>info@qdrant.tech (Andrey Vasnetsov)</author><guid>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/filterable-hnsw/</guid><description>&lt;div class="date">
 &lt;img class="date-icon" src="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/icons/outline/date-blue.svg" alt="Calendar" /> Day 2 
&lt;/div>

&lt;h1 id="combining-vector-search-and-filtering">Combining Vector Search and Filtering&lt;/h1>
&lt;p>We&amp;rsquo;ve talked about how Qdrant uses the &lt;a href="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/concepts/indexing/#filterable-index">HNSW&lt;/a> graph to efficiently search dense vectors. But in real-world applications, you&amp;rsquo;ll often want to constrain your search using filters. This creates unique challenges for graph traversal that Qdrant solves elegantly.&lt;/p>
&lt;div class="video">
&lt;iframe 
 src="https://www.youtube.com/embed/VJVHU47IAik?si=nkaHShqrlaO4fj7O"
 frameborder="0"
 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
 referrerpolicy="strict-origin-when-cross-origin"
 allowfullscreen>
&lt;/iframe>
&lt;/div>
&lt;h2 id="the-challenge-filters-break-graph-connectivity">The Challenge: Filters Break Graph Connectivity&lt;/h2>
&lt;p>Consider retrieving items from an online store collection where you only want to show laptops priced under $1,000. That price information, along with the category &amp;rsquo;laptop&amp;rsquo;, isn&amp;rsquo;t part of the vector - it lives in the &lt;a href="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/documentation/concepts/payload/">payload&lt;/a>.&lt;/p></description></item><item><title>Demo: HNSW Performance Tuning</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/collection-tuning-demo/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>info@qdrant.tech (Andrey Vasnetsov)</author><guid>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/collection-tuning-demo/</guid><description>&lt;div class="date">
 &lt;img class="date-icon" src="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/icons/outline/date-blue.svg" alt="Calendar" /> Day 2 
&lt;/div>

&lt;h1 id="demo-hnsw-performance-tuning">Demo: HNSW Performance Tuning&lt;/h1>
&lt;p>Learn how to improve vector search speed with &lt;a href="https://qdrant.tech/articles/filterable-hnsw/" target="_blank" rel="noopener nofollow">HNSW&lt;/a> tuning and payload indexing on a real 100K dataset.&lt;/p>
&lt;p>&lt;strong>Follow along in Colab:&lt;/strong> &lt;a href="https://colab.research.google.com/github/qdrant/examples/blob/master/course/day_2/hnsw_performance_tuning.ipynb">
&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" style="display:inline; margin:0;" alt="Open In Colab"/>
&lt;/a>&lt;/p>
&lt;h2 id="what-youll-do">What You’ll Do&lt;/h2>
&lt;p>Yesterday you learned the theory behind HNSW indexing. Today you&amp;rsquo;ll see it in action on a 100,000-vector dataset, measuring performance differences and applying optimization strategies that work in production.&lt;/p>
&lt;p>&lt;strong>You&amp;rsquo;ll learn to:&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Optimize bulk upload speed with strategic HNSW configuration&lt;/li>
&lt;li>Measure the performance impact of payload indexes&lt;/li>
&lt;li>Tune HNSW params&lt;/li>
&lt;li>Compare full-scan vs. HNSW search performance&lt;/li>
&lt;/ul>
&lt;h2 id="the-performance-challenge">The Performance Challenge&lt;/h2>
&lt;p>Working with 100K high-dimensional vectors (1536 dimensions from OpenAI&amp;rsquo;s text-embedding-3-large) presents real performance challenges:&lt;/p></description></item><item><title>Project: HNSW Performance Benchmarking</title><link>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/pitstop-project/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>info@qdrant.tech (Andrey Vasnetsov)</author><guid>https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/course/essentials/day-2/pitstop-project/</guid><description>&lt;div class="date">
 &lt;img class="date-icon" src="https://deploy-preview-2138--condescending-goldwasser-91acf0.netlify.app/icons/outline/date-blue.svg" alt="Calendar" /> Day 2 
&lt;/div>

&lt;h1 id="project-hnsw-performance-benchmarking">Project: HNSW Performance Benchmarking&lt;/h1>
&lt;p>Now that you&amp;rsquo;ve seen how &lt;a href="https://qdrant.tech/articles/filterable-hnsw/" target="_blank" rel="noopener nofollow">HNSW&lt;/a> parameters and payload indexes affect performance with the DBpedia dataset, it&amp;rsquo;s time to optimize for your own domain and use case.&lt;/p>
&lt;h2 id="your-mission">Your Mission&lt;/h2>
&lt;p>Build on your Day 1 search engine by adding performance optimization. You&amp;rsquo;ll discover which HNSW settings work best for your specific data and queries, and measure the real impact of payload indexing.&lt;/p>
&lt;p>&lt;strong>Estimated Time:&lt;/strong> 90 minutes&lt;/p></description></item></channel></rss>