Public/CrawlerTemplates/FileConnector.template.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
<Crawler Enabled="true" Type="IntelliSearch.Crawlers.ICD.ICDCrawler, IntelliSearch.Crawlers.ICD" InstanceId="[[InstanceId]]">
    <Settings>
            <Add Key="ForceFullCrawlOnEmptyIndex" Value="false"/>
    </Settings>
        <CustomConfiguration>
            <ICDCrawlerConfiguration xmlns="http://intellisearch.com/Crawlers/ICD/">
                <Queues>
                    <Queue address="net.tcp://[[QueueManagerServer]]:[[QueueManagerPort]]/QueueManager"
                            setIdentifier="[[SetId]]"
                            checkIntervalMs="10000"
                            getNewItemsWaitTimeSec="10"
                            maxNumItemsToRetrieve="1000"
                            openCloseTimeoutMin="10"
                            sendReceiveTimeoutMin="10" />
                </Queues>
                <Fields maxBinaryDataSizeMb="15">
                    <Url>
                        <Field name="FullName" />
                    </Url>
                    <System>
                        <Field name="Path"
                                arraySeparator="\"
                                includeSystem="false"
                                includeInstance="false" />
                    </System>
                    <Headline>
                        <Field name="Name" />
                        <Field name="Title" />
                    </Headline>
                    <Abstract>
                    </Abstract>
                    <Author>
                    </Author>
                    <Body>
                        <Field name="Body" />
                        <Field name="FileContent" />
                    </Body>
                    <ChangedDate>
                        <Field name="Received" />
                        <Field name="Parent.Received" />
                    </ChangedDate>
                    <ParentExternalId/>
                </Fields>
                <Logging countEachXItemsConsole="1" countEachXItemsLog="500" />
                <DataRecordProcessing>
                    <ProcessingConfiguration xmlns="http://intellisearch.com/ICD/ProcessingConfiguration.xsd">
                        <Rule>
                            <Triggers/>
                            <Fields>
                                <Field name="Intellisearch.Type" value="File" operation="Add" />
                                <Field name="Intellisearch.Tabs" value="Fileshare" operation="Add" />
                            </Fields>
                        </Rule>
                    </ProcessingConfiguration>
                </DataRecordProcessing>
            </ICDCrawlerConfiguration>
        </CustomConfiguration>
    <EnableWatcher>true</EnableWatcher>
</Crawler>