{"componentChunkName":"component---src-templates-tag-page-js","path":"/tags/vector-search/","result":{"data":{"site":{"siteMetadata":{"title":"M.Hassan Ahmed","author":"Hassan11196"}},"allMarkdownRemark":{"totalCount":1,"edges":[{"node":{"excerpt":"How HNSW Vector Search Actually Works Every RAG post I have written so far ends up calling the same function: give me the  chunks whose…","fields":{"slug":"/2026-07-09-hnsw-vector-search-explained/"},"frontmatter":{"date":"2026-07-09T00:00:00.000Z","title":"How HNSW Vector Search Actually Works","description":"Every RAG stack leans on HNSW but treats it as a black box. Here is how the layered graph index finds nearest neighbors fast, and the knobs that matter.","tags":["AI","LLM","RAG","VectorSearch","Python"],"thumbnail":{"childImageSharp":{"fluid":{"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAANCAIAAAAmMtkJAAAACXBIWXMAAAsSAAALEgHS3X78AAABQUlEQVQoz3VSgXKDIAzt//+jZ9d2XtuJoIAQSMKiTjfb+S7HJXBJ3nvHibksQKTbranrj6qqL5fPpnmcz9frtamqc11fJLnfn2WP05Yxs9b9V6taZTozdF3ftlp1Rko5ldJ9b1+bvQvOhrW/eAMMrmAsheRiCsay0Xtpdm4cBr/VmJkxE0aKA4GETcNz1G4Zfkj7GPPyldp+s0/Wwy/tWIimRIIwMSXM4H1ifl8smn00etjqhIV4CuRitaZoMNqUcLqh4sJuwjFtJhG/Z18yHmtGJlplZeEszRP/BeVd9gmJJJZizJBw8hqDsV2dgpEHGQdMPsPsA9sUZMdPszLm0bZ/91sYUwYXNOgK5Of0X9EqEt+YIuU97f9sFACEoJ4zT5psZ5Yf4exorfd+PDSM52EEANrwqkgQQvQ+yDmOcbn5Bpmp/FKkQH/fAAAAAElFTkSuQmCC","aspectRatio":1.596244131455399,"src":"/static/63818c89c33313ff7827d0a55b08c3f7/40a76/hero.png","srcSet":"/static/63818c89c33313ff7827d0a55b08c3f7/c972b/hero.png 340w,\n/static/63818c89c33313ff7827d0a55b08c3f7/27625/hero.png 680w,\n/static/63818c89c33313ff7827d0a55b08c3f7/40a76/hero.png 1360w,\n/static/63818c89c33313ff7827d0a55b08c3f7/eeb1b/hero.png 1920w","sizes":"(max-width: 1360px) 100vw, 1360px"}}}}}}]}},"pageContext":{"tag":"VectorSearch"}},"staticQueryHashes":["32046230"]}