diff options
Diffstat (limited to 'isuifang_solr/example-DIH/solr/mail/conf/data-config.xml')
-rw-r--r-- | isuifang_solr/example-DIH/solr/mail/conf/data-config.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/isuifang_solr/example-DIH/solr/mail/conf/data-config.xml b/isuifang_solr/example-DIH/solr/mail/conf/data-config.xml new file mode 100644 index 0000000..eed4c2b --- /dev/null +++ b/isuifang_solr/example-DIH/solr/mail/conf/data-config.xml @@ -0,0 +1,11 @@ +<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="imaps" + fetchMailsSince="2009-09-20 00:00:00" batchSize="20" folders="inbox" processAttachement="false"/> + </document> +</dataConfig> |