{"schemaVersion":1,"locale":"en","query":"recall","version":"3d708c04c4a0732b1f735702d8ff10e1c3b4751d9901768221a56a12a16234ca","total":474,"matched":12,"method":"BM25 passage retrieval with title weighting; lexical relevance, not a confidence or authority score","offset":0,"items":[{"url":"https://lucioduran.com/projects/rag-evaluation-workbench","citationUrl":"https://lucioduran.com/projects/rag-evaluation-workbench#results-retrieval","title":"RAG Evaluation Workbench","heading":"Retrieval: 24 answerable queries","kind":"project","contentLanguage":"en","excerpt":"Recall@3 and NDCG@3 over 24 answerable questions in 12 source groups. Unanswerable questions are excluded from these metrics. The 95% intervals use grouped bootstrap.\n\n| Method | Recall@3 | 95% interval | NDCG@3 | 95% interval |\n| --- | --- | --- | --- | --- |\n| BM25 | 1.000 | \\[1.000, 1.000\\] | 0.969 | \\[0.923, 1.000\\] |\n| Dense | 1.000 | \\[1.000, 1.000\\] | 1.000 | \\[1.000, 1.000\\] |\n| Hybrid | 1.000 | \\[1.000, 1.000\\] | 1.000 | \\[1.000, 1.000\\] |","contentHash":"b13be94a03b2e35f5f9a0d92adf68c1e17c94e2e06839d98bb8d5c88bc9adc8c","datePublished":"2026-10-21","dateModified":"2026-10-21","readUrl":"https://lucioduran.com/api/content?path=%2Fprojects%2Frag-evaluation-workbench&section=results-retrieval&format=json","score":7.04801,"representations":{"markdown":"https://lucioduran.com/projects/rag-evaluation-workbench.md","json":"https://lucioduran.com/projects/rag-evaluation-workbench.json"}},{"url":"https://lucioduran.com/projects/vector-search-portability","citationUrl":"https://lucioduran.com/projects/vector-search-portability#results-filters","title":"Vector Search Portability","heading":"Filters after updates, both engines","kind":"project","contentLanguage":"en","excerpt":"| Mode | Recall@10 | Result loss |\n| --- | --- | --- |\n| Native, nonempty groups | 1.0000 | 0.0000 |\n| Tenant postfilter | 0.4725 | 0.5275 |\n| Selective postfilter | 0.0275 | 0.9725 |\n\nBoth engines reached native recall 1.0 on this fixture. Selective postfiltering lost 97.25% of available results despite 14 eligible candidates. Four clients degraded the HNSW adapter with its Python predicate; the experiment does not isolate callback, GIL and O(N) mask contributions.\n\nThe original run retains 9,600 searches. A further run adds 9,600 after a CPU accounting fix, with the same native recall and selective loss. Table values remain the original obs…","contentHash":"7469cf5795503c32f4ab51ed25ac47a1fa3ada832779156a488343676bb35008","datePublished":"2026-10-21","dateModified":"2026-10-21","readUrl":"https://lucioduran.com/api/content?path=%2Fprojects%2Fvector-search-portability&section=results-filters&format=json","score":6.93861,"representations":{"markdown":"https://lucioduran.com/projects/vector-search-portability.md","json":"https://lucioduran.com/projects/vector-search-portability.json"}},{"url":"https://lucioduran.com/projects/bilingual-retrieval-evals","citationUrl":"https://lucioduran.com/projects/bilingual-retrieval-evals#results-retrieval","title":"Bilingual Retrieval Evals","heading":"Retrieval over 32 original queries","kind":"project","contentLanguage":"en","excerpt":"| Method | Recall@3 | NDCG@3 | MRR@3 |\n| --- | --- | --- | --- |\n| BM25 | 0.719 | 0.719 | 0.719 |\n| Accent-folded BM25 | 0.719 | 0.719 | 0.719 |\n| Multilingual MiniLM | 1.000 | 0.977 | 0.969 |","contentHash":"440dcb67fe242fa3d368a3d8460dc0446764ba43137804452f0de33b7630c16c","datePublished":"2026-10-22","dateModified":"2026-10-22","readUrl":"https://lucioduran.com/api/content?path=%2Fprojects%2Fbilingual-retrieval-evals&section=results-retrieval&format=json","score":6.4767,"representations":{"markdown":"https://lucioduran.com/projects/bilingual-retrieval-evals.md","json":"https://lucioduran.com/projects/bilingual-retrieval-evals.json"}},{"url":"https://lucioduran.com/blog/rag-pipeline-architecture-chunking-reranking-evaluation","citationUrl":"https://lucioduran.com/blog/rag-pipeline-architecture-chunking-reranking-evaluation#query-expansion","title":"RAG Pipeline Architecture: Chunking Strategies, Hybrid Search, Reranking, and Evaluation Frameworks","heading":"Query Expansion","kind":"blog","contentLanguage":"en","excerpt":"Rewrite the user query before retrieval to improve recall:\n\n```python\ndef expand_query(query, llm):\n    \"\"\"Generate alternative phrasings to improve retrieval.\"\"\"\n    expansion_prompt = f\"\"\"Generate 3 alternative phrasings of this search query.\nEach should capture the same intent but use different terminology.\nReturn only the queries, one per line.\n\nQuery: {query}\"\"\"\n\n    alternatives = llm.generate(expansion_prompt).strip().split(\"\\n\")\n    return [query] + alternatives[:3]\n```\n\nRun hybrid search on all expanded queries and merge results with RRF. Measure whether expansion improves recall without adding irrelevant context.","contentHash":"7db9574b923294ca1efb8f80760f0bb097b5ee620c553b0010945a20686c79f3","datePublished":"2026-04-16","dateModified":"2026-11-10","readUrl":"https://lucioduran.com/api/content?path=%2Fblog%2Frag-pipeline-architecture-chunking-reranking-evaluation&section=query-expansion&format=json","score":6.24834,"representations":{"markdown":"https://lucioduran.com/blog/rag-pipeline-architecture-chunking-reranking-evaluation.md","json":"https://lucioduran.com/blog/rag-pipeline-architecture-chunking-reranking-evaluation.json"}},{"url":"https://lucioduran.com/blog","citationUrl":"https://lucioduran.com/blog#article-vector-databases-pgvector-qdrant-pinecone","title":"Blog","heading":"Vector Databases for RAG: Indexes, Filters and Evaluation","kind":"section","contentLanguage":"en","excerpt":"How to compare vector retrieval using recall, filters, resource use and operating constraints. Includes separately scoped reproducible local projects.\n\nvector-databases · pgvector · qdrant · pinecone · weaviate · rag · embeddings · hnsw · ai\n\n2025-11-30 · AI/ML","contentHash":"ebb6cf88103715f67e51e420caa679c6c3fba7f55473da8046b79555cfab2846","datePublished":null,"dateModified":null,"readUrl":"https://lucioduran.com/api/content?path=%2Fblog&section=article-vector-databases-pgvector-qdrant-pinecone&format=json","score":5.94228,"representations":{"markdown":"https://lucioduran.com/blog.md","json":"https://lucioduran.com/blog.json"}},{"url":"https://lucioduran.com/blog/vector-databases-pgvector-qdrant-pinecone","citationUrl":"https://lucioduran.com/blog/vector-databases-pgvector-qdrant-pinecone#reproducible-implementation-portability-and-filters","title":"Vector Databases for RAG: Indexes, Filters and Evaluation","heading":"Reproducible implementation: portability and filters","kind":"blog","contentLanguage":"en","excerpt":"…500 updates. Exhaustive search supplies the reference. Published evidence includes IDs, distances, recall, result loss, concurrent load and resource measurements.\n\nBoth engines reached native recall 1.0 on that fixture. Applying the selective filter after retrieving 40 global neighbors lost 97.25% of available results despite 14 eligible vectors. Adapter details mattered too: four clients degraded HNSW with its Python predicate. The project page retains both original and confirmation evidence. This experiment measures local geometry and adapters; it is not a pgvector, Qdrant or Pinecone benchmark or a semantic-relevance evaluation.","contentHash":"fed6da2dcf3cd12f5e24ec494f944f1bbd1faeb82acd89f108e7dbbee09acb2f","datePublished":"2025-12-02","dateModified":"2026-11-10","readUrl":"https://lucioduran.com/api/content?path=%2Fblog%2Fvector-databases-pgvector-qdrant-pinecone&section=reproducible-implementation-portability-and-filters&format=json","score":5.66255,"representations":{"markdown":"https://lucioduran.com/blog/vector-databases-pgvector-qdrant-pinecone.md","json":"https://lucioduran.com/blog/vector-databases-pgvector-qdrant-pinecone.json"}},{"url":"https://lucioduran.com/projects","citationUrl":"https://lucioduran.com/projects#project-vector-search-portability","title":"Projects","heading":"Vector Search Portability","kind":"section","contentLanguage":"en","excerpt":"Real hnswlib and sqlite-vec comparison with identical vectors, filters and updates. Recall against exact search, concurrent read load and postfilter result loss.\n\nPython · License: MIT\n\n[Read the project](<https://lucioduran.com/projects/vector-search-portability>) · [Repository](<https://github.com/lucioduran/vector-search-portability>) · [Release v0.1.0](<https://github.com/lucioduran/vector-search-portability/releases/tag/v0.1.0>)","contentHash":"eed46574d2d6b900cd4dcb3984dd1f5347f41f2852a6210c35ee30073ab0f7f3","datePublished":null,"dateModified":null,"readUrl":"https://lucioduran.com/api/content?path=%2Fprojects&section=project-vector-search-portability&format=json","score":5.45733,"representations":{"markdown":"https://lucioduran.com/projects.md","json":"https://lucioduran.com/projects.json"}},{"url":"https://lucioduran.com/topics/rag","citationUrl":"https://lucioduran.com/topics/rag#project-vector-search-portability","title":"RAG: retrieval, search and evaluation","heading":"Vector Search Portability","kind":"topic","contentLanguage":"en","excerpt":"Real hnswlib and sqlite-vec comparison with identical vectors, filters and updates. Recall against exact search, concurrent read load and postfilter result loss.\n\nPython · License: MIT\n\n[Read the project](<https://lucioduran.com/projects/vector-search-portability>) · [Repository](<https://github.com/lucioduran/vector-search-portability>) · [Release v0.1.0](<https://github.com/lucioduran/vector-search-portability/releases/tag/v0.1.0>)","contentHash":"edcc0f51af99038abbd71ef62c3a7d7a378d23606b081ac9d8ace9851c2ce9c1","datePublished":"2026-11-10","dateModified":"2026-11-10","readUrl":"https://lucioduran.com/api/content?path=%2Ftopics%2Frag&section=project-vector-search-portability&format=json","score":5.33298,"representations":{"markdown":"https://lucioduran.com/topics/rag.md","json":"https://lucioduran.com/topics/rag.json"}},{"url":"https://lucioduran.com/","citationUrl":"https://lucioduran.com/#cap-retrieval","title":"Lucio Durán","heading":"04 / Retrieval and context05 controls","kind":"section","contentLanguage":"en","excerpt":"…om build HTML. Scores measure lexical relevance. [HTTP / JSON](<https://lucioduran.com/api/search?q=recall&locale=en&limit=3>)\n- Implemented:  R02**Explicit filters and pagination**\n\n  Language, kind, offset, limit and next support bounded, repeatable traversal. [HTTP / JSON](<https://lucioduran.com/api/search?q=agent&locale=en&kind=blog&limit=2>)\n- Implemented:  R03**Results with citations and versions**\n\n  Every result includes an excerpt, citationUrl and the indexed document’s contentHash. [HTTP / JSON](<https://lucioduran.com/api/search?q=recall&locale=en&limit=1>)\n- Implemented:  R04**Read individual sections**\n\n  section selects a headi…","contentHash":"bf0eb57e98febf8ed7ab1fa58742fa06a558ff6f05d44e1917d31c98364e5c65","datePublished":null,"dateModified":null,"readUrl":"https://lucioduran.com/api/content?path=%2F&section=cap-retrieval&format=json","score":5.29429,"representations":{"markdown":"https://lucioduran.com/index.md","json":"https://lucioduran.com/index.json"}},{"url":"https://lucioduran.com/access","citationUrl":"https://lucioduran.com/access#search","title":"Content access","heading":"Find and cite a section","kind":"section","contentLanguage":"en","excerpt":"…by language and content kind; follow next for additional results.\n\n```\nGET /api/search?locale=en&q=recall&limit=5\nGET /api/content?path=/blog/rag-pipeline-architecture-chunking-reranking-evaluation&format=json&section=questions\n```\n\nCite citationUrl and the named page author. Check the passage against the JSON document and its contentHash. Technical guides explain methods; measured results require data, configuration and methodology.","contentHash":"f3693fcbf1d4d54a00c1a96646c6aca1a70024d60f8c1abb88f36058189137ed","datePublished":null,"dateModified":null,"readUrl":"https://lucioduran.com/api/content?path=%2Faccess&section=search&format=json","score":4.53258,"representations":{"markdown":"https://lucioduran.com/access.md","json":"https://lucioduran.com/access.json"}}],"next":"/api/search?q=recall&locale=en&limit=10&offset=10"}