lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r818420 - in /lucene/solr/trunk: contrib/dataimporthandler/build.xml example/example-DIH/solr/mail/conf/data-config.xml
Date Thu, 24 Sep 2009 09:59:17 GMT
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@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>



Mime
View raw message