Public/CrawlerTemplates/MailConnector.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<Crawler Enabled="true" InstanceId="[[InstanceId]]" Type="IntelliSearch.Crawlers.ICD.ICDCrawler, IntelliSearch.Crawlers.ICD">
        <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="5">
                    <Url>
                        <Field name="Url" />
                    </Url>
                    <System>
                        <Field name="Folder.Path"
                               arraySeparator="\"
                               includeSystem="false"
                               includeInstance="false" />
                    </System>
                    <Headline>
                        <Field name="Attachment.Name" />
                        <Field name="Subject" />
                        <Field name="Title" />
                    </Headline>
                    <Abstract>
                    </Abstract>
                    <Author>
                    </Author>
                    <Body>
                        <Field name="Parent.Body" />
                        <Field name="Body" />
                        <Field name="Attachment.Content" />
                    </Body>
                    <ChangedDate>
                        <Field name="Received" />
                        <Field name="Parent.Received" />
                    </ChangedDate>
                    <ParentExternalId>
                        <Field name="Parent.Id" />
                    </ParentExternalId>
                </Fields>
                <Logging countEachXItemsConsole="1" countEachXItemsLog="500" />
                <DataRecordProcessing>
                    <ProcessingConfiguration xmlns="http://intellisearch.com/ICD/ProcessingConfiguration.xsd">
                        <Rule>
                            <Triggers>
                                <Trigger name="MailboxType" value="Private" />
                                <Trigger name="Folder.IsArchive" value="false" />
                            </Triggers>
                            <Fields>
                                <Field name="Folder.Path" value="Mailbox" operation="Prepend" />
                                <Field name="Intellisearch.Tabs" value="Mailbox" operation="Add" />
                            </Fields>
                        </Rule>
                        <Rule>
                            <Triggers>
                                <Trigger name="MailboxType" value="Public" />
                            </Triggers>
                            <Fields>
                                <Field name="Folder.Path" value="Public Folders" operation="Prepend" />
                                <Field name="Intellisearch.Tabs" value="PublicFolders" operation="Add" />
                            </Fields>
                        </Rule>
                        <Rule>
                            <Triggers>
                                <Trigger name="MailboxType" value="Private" />
                                <Trigger name="Folder.IsArchive" value="true" />
                            </Triggers>
                            <Fields>
                                <Field name="Folder.Path" value="Archive" operation="Prepend" />
                                <Field name="Intellisearch.Tabs" value="Mailbox" operation="Add" />
                            </Fields>
                        </Rule>
                        <Rule>
                            <Triggers>
                                <Trigger name="ItemClass" value="IPM.Note" />
                            </Triggers>
                            <Fields>
                                <Field name="Intellisearch.Type" value="Email" operation="Add" />
                            </Fields>
                        </Rule>
                        <Rule>
                            <Triggers>
                                <Trigger name="Parent.ItemClass" value="IPM.Note" />
                            </Triggers>
                            <Fields>
                                <Field name="Intellisearch.Type" value="Attachment" operation="Add" />
                            </Fields>
                        </Rule>
                        <Rule>
                            <Triggers>
                                <Trigger name="ItemClass" value="IPM.Appointment" />
                            </Triggers>
                            <Fields>
                                <Field name="Intellisearch.Type" value="Appointment" operation="Add" />
                            </Fields>
                        </Rule>
                    </ProcessingConfiguration>
                </DataRecordProcessing>
            </ICDCrawlerConfiguration>
        </CustomConfiguration>
        <EnableWatcher>true</EnableWatcher>
    </Crawler>