aboutsummaryrefslogtreecommitdiff
path: root/solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
diff options
context:
space:
mode:
authorMonika <monika_hedman@brown.edu>2019-06-26 17:54:18 -0400
committerMonika <monika_hedman@brown.edu>2019-06-26 17:54:18 -0400
commitf08914e7b376b92e9046dd8bd4bc4dc2f5996e6f (patch)
tree20cace0012e229a5419b360227025241e3cf9fdb /solr-8.1.1/example/example-DIH/solr/mail/conf/mail-data-config.xml
parent0df1e6093ee5cc2b9b7510b8f4ea5325fd47ffe8 (diff)
installed solr
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>