aboutsummaryrefslogtreecommitdiff
path: root/solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-07-31 03:39:55 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-07-31 03:39:55 -0400
commit7e8778b06dacab6e9e6dedc562c10898f7075a3b (patch)
tree744d33c145c7325b3785e865517f5add7fb7a857 /solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
parent8a87f7110b56ca96b3960f6fb3917c7ed8c7a814 (diff)
parentb6fa309cea934d250fe992e70e1e268f344659b5 (diff)
merged with master
Diffstat (limited to 'solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml')
-rw-r--r--solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml b/solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
new file mode 100644
index 000000000..736aea7cc
--- /dev/null
+++ b/solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
@@ -0,0 +1,12 @@
+<dataConfig>
+ <document>
+ <!--
+ Note - In order to index attachments, set processAttachement="true" and drop
+ Tika and its dependencies to example-DIH/solr/mail/lib directory
+ -->
+ <entity processor="MailEntityProcessor" user="email@gmail.com"
+ password="password" host="imap.gmail.com" protocol="gimaps"
+ fetchMailsSince="2014-06-30 00:00:00" batchSize="20" folders="inbox" processAttachement="false"
+ name="mail_entity"/>
+ </document>
+</dataConfig>