<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>《使用lunr.js为Wiki系统增加全文搜索支持》的评论</title>
	<atom:link href="https://zohead.com/archives/wiki-lunr-js/feed/" rel="self" type="application/rss+xml" />
	<link>https://zohead.com/archives/wiki-lunr-js/</link>
	<description>Uranus Zhou&#039;s Blog</description>
	<lastBuildDate>Wed, 26 Nov 2025 11:17:35 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8</generator>
	<item>
		<title>作者：bing</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-11251</link>
		<dc:creator><![CDATA[bing]]></dc:creator>
		<pubDate>Fri, 04 Sep 2020 04:21:15 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-11251</guid>
		<description><![CDATA[看到了，原来是隐藏技能]]></description>
		<content:encoded><![CDATA[<p>看到了，原来是隐藏技能</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bing</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-11250</link>
		<dc:creator><![CDATA[bing]]></dc:creator>
		<pubDate>Fri, 04 Sep 2020 04:20:13 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-11250</guid>
		<description><![CDATA[大佬，有demo吗]]></description>
		<content:encoded><![CDATA[<p>大佬，有demo吗</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Uranus Zhou</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-2881</link>
		<dc:creator><![CDATA[Uranus Zhou]]></dc:creator>
		<pubDate>Mon, 20 Mar 2017 03:12:32 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-2881</guid>
		<description><![CDATA[直接就支持的哦，搜索权重默认按 标题-&gt;关键字-&gt;内容 的优先级来。]]></description>
		<content:encoded><![CDATA[<p>直接就支持的哦，搜索权重默认按 标题->关键字->内容 的优先级来。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：LiarOnce</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-2878</link>
		<dc:creator><![CDATA[LiarOnce]]></dc:creator>
		<pubDate>Sun, 19 Mar 2017 12:47:06 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-2878</guid>
		<description><![CDATA[还有一个问题：
如何对标题进行搜索？]]></description>
		<content:encoded><![CDATA[<p>还有一个问题：<br />
如何对标题进行搜索？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Uranus Zhou</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-2808</link>
		<dc:creator><![CDATA[Uranus Zhou]]></dc:creator>
		<pubDate>Mon, 13 Mar 2017 05:34:24 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-2808</guid>
		<description><![CDATA[根目录是什么意思？Wiki 文档目录参数不用 library 而是直接用 MDwiki 程序目录？那样目录参数可以用 &quot;.&quot; 或者绝对路径吧]]></description>
		<content:encoded><![CDATA[<p>根目录是什么意思？Wiki 文档目录参数不用 library 而是直接用 MDwiki 程序目录？那样目录参数可以用 &#8220;.&#8221; 或者绝对路径吧</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：LiarOnce</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-2807</link>
		<dc:creator><![CDATA[LiarOnce]]></dc:creator>
		<pubDate>Mon, 13 Mar 2017 05:20:08 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-2807</guid>
		<description><![CDATA[明白了，但是为什么根目录不行]]></description>
		<content:encoded><![CDATA[<p>明白了，但是为什么根目录不行</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Uranus Zhou</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-2795</link>
		<dc:creator><![CDATA[Uranus Zhou]]></dc:creator>
		<pubDate>Sun, 12 Mar 2017 12:53:08 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-2795</guid>
		<description><![CDATA[是不是 library 目录不在运行的当前路径下？也可以用绝对路径]]></description>
		<content:encoded><![CDATA[<p>是不是 library 目录不在运行的当前路径下？也可以用绝对路径</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：LiarOnce</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-2794</link>
		<dc:creator><![CDATA[LiarOnce]]></dc:creator>
		<pubDate>Sun, 12 Mar 2017 12:49:20 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-2794</guid>
		<description><![CDATA[目前nodejieba问题解决了，但执行时发生了另一个错误：
Invalid Wiki-document-directory or Search-index-file: library]]></description>
		<content:encoded><![CDATA[<p>目前nodejieba问题解决了，但执行时发生了另一个错误：<br />
Invalid Wiki-document-directory or Search-index-file: library</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：LiarOnce</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-2793</link>
		<dc:creator><![CDATA[LiarOnce]]></dc:creator>
		<pubDate>Sun, 12 Mar 2017 12:43:14 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-2793</guid>
		<description><![CDATA[运行node search.js library search_index.json这段命令时提示找不到nodejieba包，但我已经安装了这个包，请问如何解决。

module.js:472
    throw err;
    ^

Error: Cannot find module &#039;nodejieba&#039;
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at /mnt/x/Users/LiarOnce.DESKTOP-NRV42PI/Desktop/wikis/assets/lunr.min.js:7:1058
    at Object. (/mnt/x/Users/LiarOnce.DESKTOP-NRV42PI/Desktop/wikis/assets/lunr.min.js:7:15224)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)]]></description>
		<content:encoded><![CDATA[<p>运行node search.js library search_index.json这段命令时提示找不到nodejieba包，但我已经安装了这个包，请问如何解决。</p>
<p>module.js:472<br />
    throw err;<br />
    ^</p>
<p>Error: Cannot find module &#8216;nodejieba&#8217;<br />
    at Function.Module._resolveFilename (module.js:470:15)<br />
    at Function.Module._load (module.js:418:25)<br />
    at Module.require (module.js:498:17)<br />
    at require (internal/module.js:20:19)<br />
    at /mnt/x/Users/LiarOnce.DESKTOP-NRV42PI/Desktop/wikis/assets/lunr.min.js:7:1058<br />
    at Object. (/mnt/x/Users/LiarOnce.DESKTOP-NRV42PI/Desktop/wikis/assets/lunr.min.js:7:15224)<br />
    at Module._compile (module.js:571:32)<br />
    at Object.Module._extensions..js (module.js:580:10)<br />
    at Module.load (module.js:488:32)<br />
    at tryModuleLoad (module.js:447:12)</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：zthxxx</title>
		<link>https://zohead.com/archives/wiki-lunr-js/#comment-2268</link>
		<dc:creator><![CDATA[zthxxx]]></dc:creator>
		<pubDate>Sat, 14 Jan 2017 14:43:19 +0000</pubDate>
		<guid isPermaLink="false">https://zohead.com/?p=1338#comment-2268</guid>
		<description><![CDATA[我的博客里就是先把不同目录下的所有文章内容都提取纯文本，根据文章名做成 json，所有的内容放在一个json文件里，搜索的时候就不用再遍历，而是直接读取这个文件就好。由于是纯文本，所以博文多文件也很小，应该是比分词词表小很多。遍历过程也只是每发布一篇文章更新一次，对文件本身来说也类似与增量式更新。至于遍历过程麻烦，那反正都是机器干的事。]]></description>
		<content:encoded><![CDATA[<p>我的博客里就是先把不同目录下的所有文章内容都提取纯文本，根据文章名做成 json，所有的内容放在一个json文件里，搜索的时候就不用再遍历，而是直接读取这个文件就好。由于是纯文本，所以博文多文件也很小，应该是比分词词表小很多。遍历过程也只是每发布一篇文章更新一次，对文件本身来说也类似与增量式更新。至于遍历过程麻烦，那反正都是机器干的事。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
