Disable indexing attachements in DIH mail example and do not copy tika and dependencies anymore into DIH mail example

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@818420 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-09-24 09:59:17 +00:00
parent 6a87a6cc4e
commit 162ace4e88
2 changed files with 6 additions and 7 deletions

View File

@ -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>

View File

@ -1,7 +1,11 @@
<dataConfig>
<document>
<entity processor="MailEntityProcessor" user="email@gmail.com"
<!--
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-04-01 00:00:00" batchSize="20" folders="inbox"/>
fetchMailsSince="2009-09-20 00:00:00" batchSize="20" folders="inbox" processAttachement="false"/>
</document>
</dataConfig>