Author: shalin
Date: Thu Sep 24 09:59:17 2009
New Revision: 818420
URL: http://svn.apache.org/viewvc?rev=818420&view=rev
Log:
Disable indexing attachements in DIH mail example and do not copy tika and
dependencies anymore into DIH mail example
Modified:
lucene/solr/trunk/contrib/dataimporthandler/build.xml
lucene/solr/trunk/example/example-DIH/solr/mail/conf/data-config.xml
Modified: lucene/solr/trunk/contrib/dataimporthandler/build.xml
URL:
http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/build.xml?rev=818420&r1=818419&r2=818420&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/build.xml (original)
+++ lucene/solr/trunk/contrib/dataimporthandler/build.xml Thu Sep 24 09:59:17
2009
@@ -205,11 +205,6 @@
<include name="**/*.jar"/>
</fileset>
</copy>
- <copy todir="${example}/example-DIH/solr/mail/lib">
- <fileset dir="${common.dir}/contrib/extraction/lib">
- <include name="**/*.jar"/>
- </fileset>
- </copy>
</target>
</project>
Modified: lucene/solr/trunk/example/example-DIH/solr/mail/conf/data-config.xml
URL:
http://svn.apache.org/viewvc/lucene/solr/trunk/example/example-DIH/solr/mail/conf/data-config.xml?rev=818420&r1=818419&r2=818420&view=diff
==============================================================================
--- lucene/solr/trunk/example/example-DIH/solr/mail/conf/data-config.xml
(original)
+++ lucene/solr/trunk/example/example-DIH/solr/mail/conf/data-config.xml Thu
Sep 24 09:59:17 2009
@@ -1,7 +1,11 @@
<dataConfig>
<document>
- <entity processor="MailEntityProcessor" user="[email protected]"
+ <!--
+ 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 protected]"
password="password" host="imap.gmail.com" protocol="imaps"
- fetchMailsSince="2009-04-01 00:00:00" batchSize="20"
folders="inbox"/>
+ fetchMailsSince="2009-09-20 00:00:00" batchSize="20"
folders="inbox" processAttachement="false"/>
</document>
</dataConfig>