# BestRAG > Documentation for BestRAG, a Python library for hybrid search over Postgres with pgvector or Qdrant. BestRAG is a Python library for hybrid search in RAG. It stores documents in Postgres with pgvector or in Qdrant, and searches them by meaning (dense vectors) and by exact words (BM25) at once. Each page below is plain Markdown, and llms-full.txt holds all of them in one file. ## Start here - [Introduction](https://bestrag.samadpls.com/index.md): What BestRAG is, a first example and the main features - [Quickstart](https://bestrag.samadpls.com/quickstart/index.md): Install BestRAG, start a database, index a PDF and search it ## Guides - [Databases](https://bestrag.samadpls.com/databases/index.md): Postgres with pgvector and Qdrant, hosted databases, TLS and passwords - [Indexing](https://bestrag.samadpls.com/indexing/index.md): Add, replace and delete documents, metadata, chunking and languages - [Search](https://bestrag.samadpls.com/search/index.md): Search modes, the result dict, the reranker and choosing models ## Reference - [API reference](https://bestrag.samadpls.com/api/index.md): Every class, method and argument, with errors and examples - [Benchmarks](https://bestrag.samadpls.com/benchmarks/index.md): Search quality and speed on BEIR SciFact, and how to rerun them - [Changelog](https://bestrag.samadpls.com/changelog/index.md): What changed in each version