aboutsummaryrefslogtreecommitdiffstats
path: root/isuifang_solr/example-DIH/solr/mail/conf/data-config.xml
diff options
context:
space:
mode:
authorAlvin Li <liweitianux@gmail.com>2013-08-13 14:42:32 +0800
committerAlvin Li <liweitianux@gmail.com>2013-08-13 14:42:32 +0800
commit755463eed74ed7de9a3c1a12495d2dad655d31d5 (patch)
treef2a77a7a95cd5135ef7b253aa765652ba8323a90 /isuifang_solr/example-DIH/solr/mail/conf/data-config.xml
parent9636d4a6767f49384d5c386bc3f1142c88b90613 (diff)
download97dev-755463eed74ed7de9a3c1a12495d2dad655d31d5.tar.bz2
added 'isuifang_solr'
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.xml11
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>