<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>混合检索 on AI 观察</title><link>https://ai.wujiong.cc/tags/%E6%B7%B7%E5%90%88%E6%A3%80%E7%B4%A2/</link><description>Recent content in 混合检索 on AI 观察</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Fri, 07 Aug 2026 10:54:42 +0800</lastBuildDate><atom:link href="https://ai.wujiong.cc/tags/%E6%B7%B7%E5%90%88%E6%A3%80%E7%B4%A2/index.xml" rel="self" type="application/rss+xml"/><item><title>混合检索实战：BM25 关键词检索与向量检索如何结合</title><link>https://ai.wujiong.cc/posts/2026-08-07-hybrid-search/</link><pubDate>Fri, 07 Aug 2026 10:54:42 +0800</pubDate><guid>https://ai.wujiong.cc/posts/2026-08-07-hybrid-search/</guid><description>&lt;p>很多团队在搭建 RAG 时直接上了向量数据库，结果发现：用户搜一个具体的产品型号、一个错误码或一个人名，系统却返回了一堆“语义相近”但完全不相关的内容。&lt;strong>向量检索和关键词检索各有盲区，把两者结合起来的混合检索，往往是提升召回质量最直接的方法之一。&lt;/strong>&lt;/p>
&lt;h2 id="两种检索方式的特点">两种检索方式的特点&lt;/h2>
&lt;h3 id="关键词检索bm25">关键词检索（BM25）&lt;/h3>
&lt;p>BM25 是经典的关键词相关性算法，核心思想是：查询词在文档中出现得越多、在整个语料中越稀有，文档得分越高，同时对文档长度做归一化。&lt;/p></description></item></channel></rss>