Re: Help -DIH (mail)

2011-03-09 Thread Matias Alonso
Hi Peter, When I execute the commands you mentioned, nothing happend. Below I show you the comands executed and the answered of they. Sorry, but I don´t know how to enable the log; my jre is by default. Rememeber I´m running the example-DIH (trunk\solr\example\example-DIH\solr); java

Re: Help -DIH (mail)

2011-03-09 Thread Peter Sturge
Hi, You've included some output in your message, so I presume something *did* happen when you ran the 'status' command (but it might not be what you wanted to happen :-) If you run: http://localhost:8983/solr/mail/dataimport?command=status and you get something like this back: str

Re: Help -DIH (mail)

2011-03-09 Thread Matias Alonso
Peter, You´re right; may be I expose wrong because of my english. I done everything you told me. I think that no find the folder when index. What you thinking about? Below I show to you part of the log. 09/03/2011 11:52:01 org.apache.solr.core.SolrCore execute INFO: [mail] webapp=/solr

Re: Help -DIH (mail)

2011-03-09 Thread Peter Sturge
Hi, When you ran the status command, what was the output? On Wed, Mar 9, 2011 at 2:55 PM, Matias Alonso matiasgalo...@gmail.com wrote: Peter, You´re right; may be I expose wrong because of my english. I done everything you told me. I think that no find the folder when index. What you

Re: Help -DIH (mail)

2011-03-09 Thread Matias Alonso
Log: 09/03/2011 11:54:58 org.apache.solr.core.SolrCore execute INFO: [mail] webapp=/solr path=/dataimport params={command=status} status=0 QTime=0 XML response - lst name=responseHeader int name=status0/int int name=QTime0/int /lst - lst name=initArgs - lst name=defaults str

Re: Help -DIH (mail)

2011-03-04 Thread Gora Mohanty
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

Re: Help -DIH (mail)

2011-03-04 Thread Peter Sturge
Hi, You need to put your password in as well. You should use protocol=imap unless your gmail is set for imaps (I don't believe the free gmail gives you this). entity name=email user=u...@mydomain.com password=userpwd host=imap.mydomain.com include= exclude=

Re: Help -DIH (mail)

2011-03-04 Thread Matias Alonso
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 :

Re: Help -DIH (mail)

2011-03-04 Thread Peter Sturge
Hi Matias, Can you post your data-config.xml? (with disquised names/credentials) Thanks, Peter On Fri, Mar 4, 2011 at 5:13 PM, Matias Alonso matiasgalo...@gmail.comwrote: Thks Peter, Yes, gmail gives me imaps (i understood that). So, I tried what you mention but I had get the original

Re: Help -DIH (mail)

2011-03-04 Thread Matias Alonso
dataConfig document entity name=email user=myem...@gmail.com password=mypassword host=imap.gmail.com fetchMailsSince=2011-01-01 00:00:00 deltaFetch=true include= exclude= recurse=false

Re: Help -DIH (mail)

2011-03-04 Thread Peter Sturge
Hi Matias, I haven't seen it in the posts, but I may have missed it -- what is the import command you're sending? Something like: http://localhost:8983/solr/db/dataimport?command=full-import Can you also test it with deltaFetch=false. I seem to remember having some problems with delta in the

Re: Help -DIH (mail)

2011-03-04 Thread Peter Sturge
Hi Mataias, http://localhost:8983/solr/mail/admin/dataimport.jsp?handler=/dataimportaccesses the dataimport handler, but you need to tell it to do something by sending a command: http://localhost:8983/solr/mail/admin/dataimport.jsp?handler=/dataimport

Re: Help -DIH (mail)

2011-03-04 Thread Matias Alonso
Hi Peter, From DataImportHandler Development Console I made a full-import, but didn´t work. Now, I execute http://localhost:8983/solr/mail/dataimport?command=full-import; but nothing happends; no index; no errors. thks... Matias. 2011/3/4 Peter Sturge peter.stu...@gmail.com Hi Mataias,

Re: Help -DIH (mail)

2011-03-04 Thread Peter Sturge
Hi Matias, What version of Solr are you using? Are you running any patches (maybe SOLR-2245)? Thanks, Peter On Fri, Mar 4, 2011 at 8:25 PM, Matias Alonso matiasgalo...@gmail.comwrote: Hi Peter, From DataImportHandler Development Console I made a full-import, but didn´t work. Now, I

Re: Help -DIH (mail)

2011-03-04 Thread Matias Alonso
I´m using the trunk. Thanks Peter for your preoccupation! Matias. 2011/3/4 Peter Sturge peter.stu...@gmail.com Hi Matias, What version of Solr are you using? Are you running any patches (maybe SOLR-2245)? Thanks, Peter On Fri, Mar 4, 2011 at 8:25 PM, Matias Alonso

Re: Help -DIH (mail)

2011-03-04 Thread Peter Sturge
Can you try this: Issue a full import command like this: http://localhost:8983/solr/dataimport?command=full-importhttp://localhost:8983/solr/db/dataimport?command=full-import (There is no core name here - if you're using a core name (db?), then add that in between solr/ and /dataimport) then,