---
title: "Discussion on \"pgvector for RAG Search: Schema, Storage, and Retrieval, With Real Results\" | Hashnode"
description: "Discussion on \"pgvector for RAG Search: Schema, Storage, and Retrieval, With Real Results\". RAG search has four moving parts: split the document, turn text into vectors, store those vectors somewhere queryable, and pull the right ones back out at query time. This post covers the last two — c"
url: "https://hashnode.com/posts/pgvector-for-rag-search-schema-storage-and-retrieval-with-real-results/6a5dea1f11a9d58fe8320399"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [pgvector for RAG Search: Schema, Storage, and Retrieval, With Real Results](https://gauravbytes.dev/pgvector-for-rag-search-schema-storage-and-retrieval-with-real-results?utm_source=hashnode&utm_medium=feed)

RAG search has four moving parts: split the document, turn text into vectors, store those vectors somewhere queryable, and pull the right ones back out at query time. This post covers the last two — c

Jul 20 · 6 min read · gauravbytes.dev  
Read the article

-   [#agentic-ai](https://hashnode.com/tag/agentic-ai)
-   [#rag](https://hashnode.com/tag/rag)
-   [#pgvector](https://hashnode.com/tag/pgvector)
-   [#postgres](https://hashnode.com/tag/postgres)
-   [#ai](https://hashnode.com/tag/ai)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Gaurav Kumar](https://hashnode.com/@gauravbytes)

@gauravbytes · New Delhi

  
[View profile](https://hashnode.com/@gauravbytes)

Backend Engineer & AI Builder

Backend engineer building ShiftMailer, an AI-powered email tool. Sharing lessons from shipping AI agents and scalable systems. Follow for real-world AI, product, and engineering insights—no fluff.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
