aboutsummaryrefslogtreecommitdiff
path: root/solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-07-01 15:40:55 -0400
committerab <abdullah_ahmed@brown.edu>2019-07-01 15:40:55 -0400
commit0fc7edd5f9bd1234f8de6e5b1c7b8f23668d784c (patch)
tree2ddff97c032657fb86de37c3be2cf2d201980088 /solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
parent4f8b7cecea3ceed6861c38bde9ce03c9c46e2d09 (diff)
parent6bd79baf2d9301304194d87667bb5c66c17e5298 (diff)
Merge branch 'monikasearch2' of https://github.com/browngraphicslab/Dash-Web into text_box_ab
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>