Thks Gora, I forgot "s". Now, doesn´t have error, but not index. This´s the answer in my command line (windows :( ).
...................... ...................... ...................... protocol : imaps host : imap.gmail.com folders : Recibidos,recibidos,RECIBIDOS,inbox.InBox,INBOX,Mail,MAIL,mail,CORREO, correo,Correo recurse : false exclude : [] include : [] batchSize : 100 fetchSize : 32768 read timeout : 60000 conection timeout : 30000 custom filter : fetch mail since : Sat Jan 01 00:00:00 GFT 2011 04/03/2011 14:05:40 org.apache.solr.core.SolrCore execute INFO: [mail] webapp=/solr path=/select params={command=status&qt=/dataimport} st atus=0 QTime=0 04/03/2011 14:05:40 org.apache.solr.core.SolrCore execute INFO: [mail] webapp=/solr path=/select params={command=show-config&qt=/dataimpor t} status=0 QTime=0 04/03/2011 14:05:40 org.apache.solr.handler.dataimport.MailEntityProcessor conne ctToMailBox INFO: Connected to mailbox 04/03/2011 14:05:40 org.apache.solr.update.processor.LogUpdateProcessor finish INFO: {} 0 0 04/03/2011 14:05:40 org.apache.solr.handler.dataimport.DocBuilder execute INFO: Time taken = 0:0:3.31 04/03/2011 14:05:48 org.apache.solr.core.SolrCore execute INFO: [mail] webapp=/solr path=/select params={command=status&qt=/dataimport} st atus=0 QTime=0 04/03/2011 14:05:48 org.apache.solr.core.SolrCore execute INFO: [mail] webapp=/solr path=/select params={command=show-config&qt=/dataimpor t} status=0 QTime=0 Matias. 2011/3/4 Gora Mohanty <g...@mimirtech.com> > On Fri, Mar 4, 2011 at 9:20 PM, Matias Alonso <matiasgalo...@gmail.com> > wrote: > > Hi everyone! > > > > > > I’m trying to index mails into solr through DHI (based on the > > “example-DIH”). For this I´m using my personal email from gmail, but I > can´t > > index. > > Have not used the MailEntityProcessor with Gmail, but some > points below: > > > Configuration in Data-config .xml: > > > > <dataConfig> > > > > <document> > > > > <entity name="email" > > > > user="m...@gmail.com" > ^^^^^ I presume that you have put in your actual > email address here. > [...] > > protocol="imap"/> > ^^^^^ Shouldn't this be imaps, at least as > per http://wiki.apache.org/solr/MailEntityProcessor > > Regards, > Gora >