Public/CrawlerTemplates/MailConnector.template.xml

<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>