Project

General

Profile

FBC config » History » Version 1

Vassilis Papavassiliou, 2012-12-05 09:40 AM

1 1 Vassilis Papavassiliou
<?xml version="1.0" encoding="UTF-8"?>
2 1 Vassilis Papavassiliou
<configuration>
3 1 Vassilis Papavassiliou
	<agent>
4 1 Vassilis Papavassiliou
		<email>yourmail@mail.com</email>
5 1 Vassilis Papavassiliou
		<web_address>www.youraddress.com</web_address>
6 1 Vassilis Papavassiliou
	</agent>
7 1 Vassilis Papavassiliou
	<classifier>
8 1 Vassilis Papavassiliou
		<min_content_terms>
9 1 Vassilis Papavassiliou
			<value>2</value>
10 1 Vassilis Papavassiliou
			<description>Minimum number of terms that must exist in clean
11 1 Vassilis Papavassiliou
				content of each web page in order to be stored.</description>
12 1 Vassilis Papavassiliou
		</min_content_terms>
13 1 Vassilis Papavassiliou
		<min_unique_content_terms>
14 1 Vassilis Papavassiliou
			<value>2</value>
15 1 Vassilis Papavassiliou
			<description>Minimum unique terms that must exist in clean content</description>
16 1 Vassilis Papavassiliou
		</min_unique_content_terms>
17 1 Vassilis Papavassiliou
		<max_depth>
18 1 Vassilis Papavassiliou
			<value>10</value>
19 1 Vassilis Papavassiliou
			<description>Maximum depth to crawl before abandoning a specific path. Depth
20 1 Vassilis Papavassiliou
			is increased every time a link is extracted from a non-relevant web page.</description>
21 1 Vassilis Papavassiliou
		</max_depth>
22 1 Vassilis Papavassiliou
	</classifier>
23 1 Vassilis Papavassiliou
	<fetcher>
24 1 Vassilis Papavassiliou
		<fetch_buffer_size>
25 1 Vassilis Papavassiliou
			<description>Max number of urls to fetch per run</description>
26 1 Vassilis Papavassiliou
			<value>512</value>
27 1 Vassilis Papavassiliou
		</fetch_buffer_size>
28 1 Vassilis Papavassiliou
		<socket_timeout>
29 1 Vassilis Papavassiliou
			<value>10000</value>
30 1 Vassilis Papavassiliou
			<description>Socket timeout in milliseconds(per URL)</description>
31 1 Vassilis Papavassiliou
		</socket_timeout>
32 1 Vassilis Papavassiliou
		<connection_timeout>
33 1 Vassilis Papavassiliou
			<value>10000</value>
34 1 Vassilis Papavassiliou
			<description>Connection timeout in milliseconds(per URL)</description>
35 1 Vassilis Papavassiliou
		</connection_timeout>
36 1 Vassilis Papavassiliou
		<max_retry_count>
37 1 Vassilis Papavassiliou
			<value>2</value>
38 1 Vassilis Papavassiliou
			<description>Max number of attempts to fetch a Web page before giving up</description>
39 1 Vassilis Papavassiliou
		</max_retry_count>
40 1 Vassilis Papavassiliou
		<min_response_rate>
41 1 Vassilis Papavassiliou
			<value>0</value>
42 1 Vassilis Papavassiliou
			<description>Min bytes-per-seconds for fetching a web page</description>
43 1 Vassilis Papavassiliou
		</min_response_rate>
44 1 Vassilis Papavassiliou
		<valid_mime_types>
45 1 Vassilis Papavassiliou
			<mime_type value="text/html" />
46 1 Vassilis Papavassiliou
			<mime_type value="text/plain" />
47 1 Vassilis Papavassiliou
			<mime_type value="application/xhtml+xml" />
48 1 Vassilis Papavassiliou
			<description>Accepted mime types</description>
49 1 Vassilis Papavassiliou
		</valid_mime_types>
50 1 Vassilis Papavassiliou
		<crawl_delay>
51 1 Vassilis Papavassiliou
			<value>1500</value>
52 1 Vassilis Papavassiliou
			<description>delay in milliseconds between requests</description>
53 1 Vassilis Papavassiliou
		</crawl_delay>
54 1 Vassilis Papavassiliou
		<max_content_size>
55 1 Vassilis Papavassiliou
			<value>531072</value>
56 1 Vassilis Papavassiliou
			<description>Max content size (bytes) for downloading a web page</description>
57 1 Vassilis Papavassiliou
		</max_content_size>
58 1 Vassilis Papavassiliou
		<max_requests_per_run>
59 1 Vassilis Papavassiliou
			<value>512</value>
60 1 Vassilis Papavassiliou
			<description>Max fetch set size per run (Sets are made by URLs from the same host)</description>
61 1 Vassilis Papavassiliou
		</max_requests_per_run>
62 1 Vassilis Papavassiliou
		<max_requests_per_host_per_run>
63 1 Vassilis Papavassiliou
			<value>512</value>
64 1 Vassilis Papavassiliou
			<description>Max URLs from a specific host per run</description>
65 1 Vassilis Papavassiliou
		</max_requests_per_host_per_run>
66 1 Vassilis Papavassiliou
		<max_connections_per_host>
67 1 Vassilis Papavassiliou
			<value>32</value>
68 1 Vassilis Papavassiliou
			<description>Max number of fetching threads for each host</description>
69 1 Vassilis Papavassiliou
		</max_connections_per_host>		
70 1 Vassilis Papavassiliou
		<max_fetched_per_host>
71 1 Vassilis Papavassiliou
			<value>10000000</value>
72 1 Vassilis Papavassiliou
			<description>Max web pages to fetch per host</description>
73 1 Vassilis Papavassiliou
		</max_fetched_per_host>
74 1 Vassilis Papavassiliou
		<max_redirects>
75 1 Vassilis Papavassiliou
			<value>5</value>
76 1 Vassilis Papavassiliou
			<descriptions>Max number of redirects</descriptions>
77 1 Vassilis Papavassiliou
		</max_redirects>
78 1 Vassilis Papavassiliou
		<request_timeout>
79 1 Vassilis Papavassiliou
			<value>600000</value>
80 1 Vassilis Papavassiliou
			<description>Max time to wait for Fetcher to get all URLs in a run</description>
81 1 Vassilis Papavassiliou
		</request_timeout>
82 1 Vassilis Papavassiliou
	</fetcher>	
83 1 Vassilis Papavassiliou
</configuration>