aboutsummaryrefslogtreecommitdiff
path: root/solr-8.3.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
diff options
context:
space:
mode:
authorStanley Yip <stanley_yip@brown.edu>2020-01-08 13:47:29 -0500
committerStanley Yip <stanley_yip@brown.edu>2020-01-08 13:47:29 -0500
commitabfa42b6f2cf863deee19aac19328a23687464cb (patch)
treeb481f23ffa7bccbde7a31de34f50d765b6b73162 /solr-8.3.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
parentd8fc218f3481728f221ceacc60ac4bc553f8e295 (diff)
parent19a71cb2788b9c1c8d8ced4af285bf91033ba626 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into pen
Diffstat (limited to 'solr-8.3.1/example/example-DIH/solr/mail/conf/mail-data-config.xml')
-rw-r--r--solr-8.3.1/example/example-DIH/solr/mail/conf/mail-data-config.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/solr-8.3.1/example/example-DIH/solr/mail/conf/mail-data-config.xml b/solr-8.3.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
new file mode 100644
index 000000000..736aea7cc
--- /dev/null
+++ b/solr-8.3.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>