Plugins 为什么nutch解析应用程序/x-javascript文件?

Plugins 为什么nutch解析应用程序/x-javascript文件?,plugins,nutch,Plugins,Nutch,我在conf/nutch-site.xml中使用以下内容配置了nutch 请注意解析器列表-仅文本、html、pdf和msword。但出于某种奇怪的原因,我刚刚在索引中发现了一些application/x-javascript文件。为什么会这样?是否使用插件目录中的内容而忽略我的插件。包括?我使用Nutch 1.1而不是trunk解析rss源。我使用解析rss插件。只有当我激活插件时才能解析提要。如果没有,它们将被忽略。所以要回答你的问题,是的,Nutch应该只使用plugin.includes

我在conf/nutch-site.xml中使用以下内容配置了nutch


请注意解析器列表-仅文本、html、pdf和msword。但出于某种奇怪的原因,我刚刚在索引中发现了一些application/x-javascript文件。为什么会这样?是否使用插件目录中的内容而忽略我的插件。包括?

我使用Nutch 1.1而不是trunk解析rss源。我使用解析rss插件。只有当我激活插件时才能解析提要。如果没有,它们将被忽略。所以要回答你的问题,是的,Nutch应该只使用plugin.includes中定义的插件

<property>
  <name>plugin.includes</name>
  <value>urlfilter-regex|protocol-(http|file)|parse-(text|html|pdf|msword)|in
dex-(basic|anchor|more)|query-(basic|site|url)|response-(json|xml)|summary-basic
|scoring-opic|urlnormalizer-(pass|regex|basic)</value>
  <description>Regular expression naming plugin directory names to
  include.  Any plugin not matching this expression is excluded.
  In any case you need at least include the nutch-extensionpoints plugin. By
  default Nutch includes crawling just HTML and plain text via HTTP,
  and basic indexing and search plugins. In order to use HTTPS please enable 
  protocol-httpclient, but be aware of possible intermittent problems with the 
  underlying commons-httpclient library.
  </description>
</property>