<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Lucene on digitalitem：Claude skills 技能库与产品实验室</title><link>https://digitalitem.online/zh/tags/lucene/</link><description>Recent content in Lucene on digitalitem：Claude skills 技能库与产品实验室</description><generator>Hugo</generator><language>zh</language><lastBuildDate>Tue, 20 Oct 2026 13:15:00 +0000</lastBuildDate><atom:link href="https://digitalitem.online/zh/tags/lucene/index.xml" rel="self" type="application/rss+xml"/><item><title>Lucene 的搜索执行：impacts、WAND 与 MAXSCORE</title><link>https://digitalitem.online/zh/posts/lucene-search-execution/</link><pubDate>Tue, 20 Oct 2026 13:15:00 +0000</pubDate><guid>https://digitalitem.online/zh/posts/lucene-search-execution/</guid><description>&lt;p&gt;上一篇讲性能之战，这一篇拆执行器内部：一条查询从 &lt;code&gt;Weight&lt;/code&gt; 到 &lt;code&gt;Scorer&lt;/code&gt; 到 &lt;code&gt;DocIdSetIterator&lt;/code&gt;，到底是怎么跑起来的，以及 impacts、WAND、MAXSCORE 各自解决什么问题。&lt;/p&gt;</description></item><item><title>从零实现一个搜索引擎：用 C++ 重写 Lucene</title><link>https://digitalitem.online/zh/posts/writing-a-search-engine/</link><pubDate>Tue, 20 Oct 2026 12:55:00 +0000</pubDate><guid>https://digitalitem.online/zh/posts/writing-a-search-engine/</guid><description>&lt;p&gt;搜索引擎看起来是&amp;quot;倒排索引 + TF-IDF&amp;quot;这么简单，直到你试图让它和 Lucene &lt;strong&gt;逐位一致&lt;/strong&gt;。&lt;/p&gt;
&lt;p&gt;这个系列记录的是一次用 C++ 重写 Lucene 10.4 的尝试——不是&amp;quot;写一个玩具&amp;quot;，而是要求：Java 能读 C++ 写出的索引（&lt;code&gt;CheckIndex OK&lt;/code&gt;），同一批查询返回&lt;strong&gt;相同的文档和相同的 score 位&lt;/strong&gt;，并且性能要追到同一个量级。&lt;/p&gt;</description></item><item><title>用 C++ 重写 Lucene（四）：写入器与覆盖率长尾 —— 从 59% 到 100%</title><link>https://digitalitem.online/zh/posts/lucene-cpp-writer-coverage/</link><pubDate>Tue, 20 Oct 2026 07:30:00 +0000</pubDate><guid>https://digitalitem.online/zh/posts/lucene-cpp-writer-coverage/</guid><description>写入器从 7GB 内存降到 398MB、合并与追加输出和单遍写入逐字节一致；覆盖率从 59.3% 追到 100% 的长尾清单与验收方法。</description></item><item><title>用 C++ 重写 Lucene（三）：从 128 到 592 QPS —— 搜索性能之战</title><link>https://digitalitem.online/zh/posts/lucene-cpp-search-perf/</link><pubDate>Tue, 20 Oct 2026 07:20:00 +0000</pubDate><guid>https://digitalitem.online/zh/posts/lucene-cpp-search-perf/</guid><description>功能对了不等于能用：1M 文档下 C++ 只有 Java 的 1/5 吞吐。impacts、WAND、minCompetitiveScore、两阶段推进——把差距追到 1.09 倍的全过程。</description></item><item><title>用 C++ 重写 Lucene（二）：逐位一致的打分 —— BM25 的浮点陷阱</title><link>https://digitalitem.online/zh/posts/lucene-cpp-scoring/</link><pubDate>Tue, 20 Oct 2026 07:10:00 +0000</pubDate><guid>https://digitalitem.online/zh/posts/lucene-cpp-scoring/</guid><description>分数差 1 个 ULP，排名就可能变；排名一变，验证就失去意义。这一篇记录为了「score 位完全相同」踩过的坑。</description></item><item><title>用 C++ 重写 Lucene（一）：字节级兼容 —— 让 Java 能读 C++ 写出的索引</title><link>https://digitalitem.online/zh/posts/lucene-cpp-format/</link><pubDate>Tue, 20 Oct 2026 07:00:00 +0000</pubDate><guid>https://digitalitem.online/zh/posts/lucene-cpp-format/</guid><description>不是发明一种格式，而是复刻 Lucene 10.4 的磁盘格式：让 Java CheckIndex 接受 C++ 写出的索引，让 C++ 读出的 Java 索引逐字节一致。</description></item></channel></rss>