-
Notifications
You must be signed in to change notification settings - Fork 18
/
crawler_es.xml
61 lines (54 loc) · 2.18 KB
/
crawler_es.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
"http://dbflute.org/meta/lastadi10.dtd">
<components namespace="fessCrawler">
<include path="crawler/container.xml"/>
<include path="crawler/client.xml"/>
<include path="crawler/rule.xml"/>
<include path="crawler/filter.xml"/>
<include path="crawler/interval.xml"/>
<include path="crawler/extractor.xml"/>
<include path="crawler/mimetype.xml"/>
<include path="crawler/encoding.xml"/>
<include path="crawler/urlconverter.xml"/>
<include path="crawler/log.xml"/>
<include path="crawler/sitemaps.xml"/>
<include path="crawler/es.xml"/>
<!-- Crawler -->
<component name="crawler" class="org.codelibs.fess.crawler.Crawler" instance="prototype" >
</component>
<!-- Crawler Thread -->
<component name="crawlerThread" class="org.codelibs.fess.crawler.CrawlerThread" instance="prototype" >
</component>
<!-- Entity -->
<component name="accessResult"
class="org.codelibs.fess.crawler.entity.EsAccessResult" instance="prototype">
</component>
<component name="urlQueue"
class="org.codelibs.fess.crawler.entity.EsUrlQueue" instance="prototype">
</component>
<!-- Service -->
<component name="urlQueueService"
class="org.codelibs.fess.crawler.service.impl.EsUrlQueueService">
<arg>crawlerConfig</arg>
</component>
<component name="dataService"
class="org.codelibs.fess.crawler.service.impl.EsDataService">
<arg>crawlerConfig</arg>
</component>
<component name="urlFilterService"
class="org.codelibs.fess.crawler.service.impl.EsUrlFilterService">
<arg>crawlerConfig</arg>
</component>
<component name="crawlerConfig" class="org.codelibs.fess.crawler.util.EsCrawlerConfig">
<property name="queueIndex">"fess_crawler.queue"</property>
<property name="queueShards">5</property>
<property name="queueReplicas">1</property>
<property name="dataIndex">"fess_crawler.data"</property>
<property name="dataShards">5</property>
<property name="dataReplicas">1</property>
<property name="filterIndex">"fess_crawler.filter"</property>
<property name="filterShards">5</property>
<property name="filterReplicas">1</property>
</component>
</components>