I am trying to index my emails from Microsoft Exchange. The server is using IMAP4 protocols. I added the requestHandler in solrconfig.xml:
<requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler">
<lst name="defaults">
<str name="config">---full path to data-config.xml---</str>
</lst>
</requestHandler>
And data-config.xml contains the following:
<dataConfig>
<document>
<entity processor="MailEntityProcessor"
user="username"
password="userpass"
host="host"
protocol="imaps"
folders = "Inbox"
processAttachement="false"/>
</document>
</dataConfig>
The problem is that when I go in Solr Admin UI-> select the core (collection1)->dataimport and when I click on the [+] sign that opens the configuration I get the "Loading ..." message and it keeps loading.
I have tried different options in data-config.xml (folders="inbox" and protocol="imap", protocol="pop", protocol="pop3", etc.) but nothing worked.
What could be the problem?
EDIT: Screenshot: http://i.stack.imgur.com/brnml.jpg