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.


Configuration in Data-config .xml:

<dataConfig>

  <document>

    <entity name="email"

      user="m...@gmail.com"

      password="XXXXX"

      host="imap.gmail.com"

      fetchMailsSince="2011-01-01 00:00:00"

      deltaFetch="true"

      include=""

      exclude=""

      recurse="false"

      folders="Recibidos"

      includeContent="true"

      processAttachments="false"

      includeOtherUserFolders="false"

      includeSharedFolders="false"

      batchSize="100"

      processor="MailEntityProcessor"

      protocol="imap"/>

  </document>

</dataConfig>


When I debug and verbose I get the following messange (only first lines):


 <str name="EXCEPTION">

org.apache.solr.handler.dataimport.DataImportHandlerException: Connection
failed Processing Document # 1 at




I appreciate your help!

Regards,


 Matias.

Reply via email to