码迷,mamicode.com
首页 > 其他好文 > 详细

nutch中的 nutch-site.xml 配置

时间:2014-10-31 13:59:24      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:des   style   http   io   ar   for   sp   on   cti   

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>

	<property>
		<name>plugin.folders</name>
		<value>./src/plugin</value>
		<description>Directories where nutch plugins are located.  Each
			element may be a relative or absolute path.  If absolute, it is used
			as is.  If relative, it is searched for on the classpath.</description>
	</property>
	<property>
		<name>http.agent.name</name>
		<value>YourNutchSpider</value>
	</property>
	<property>
		<name>http.accept.language</name>
		<value>ja-jp, en-us,en-gb,en;q=0.7,*;q=0.3</value>
		<description>Value of the Accept-Language request header field.
			This allows selecting non-English language as default one to retrieve.
			It is a useful setting for search engines build for certain national group.</description>
	</property>
	<property>
		<name>storage.data.store.class</name>
		<value>org.apache.gora.sql.store.SqlStore</value>
		<description>The Gora DataStore class for storing and retrieving data.
			Currently the following stores are available:.</description>
	</property>
	<property>
		<name>parser.character.encoding.default</name>
		<value>utf-8</value>
		<description>The character encoding to fall back to when no other information
			is available</description>
	</property>
	<property>
		<name>generate.batch.id</name>
		<value>*</value>
	</property>
</configuration>


nutch中的 nutch-site.xml 配置

标签:des   style   http   io   ar   for   sp   on   cti   

原文地址:http://my.oschina.net/u/1394615/blog/339163

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!