Can you try this: Issue a full import command like this:
http://localhost:8983/solr/dataimport?command=full-import<http://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, run: http://localhost:8983/solr/dataimport?command=status<http://localhost:8983/solr/db/dataimport?command=full-import> This will show the results of the previous import. Has it been rolled-back? If so, there might be something in the log if it's enabled (see your jre's lib/logging.properties file). (you won't see any errors unless you run the status command - that's where they're stored) HTH Peter On Sat, Mar 5, 2011 at 12:46 AM, Matias Alonso <matiasgalo...@gmail.com>wrote: > 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 <matiasgalo...@gmail.com > > >wrote: > > > > > 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, > > > > > > > > > > > > > > > > > > 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 > > > > ?command=full-import< > > > > http://localhost:8983/solr/db/dataimport?command=full-import> > > > > > > > > If you haven't already, have a look at: > > > > > > > > > > > > > > > > > > http://www.lucidimagination.com/search/out?u=http%3A%2F%2Fwiki.apache.org%2Fsolr%2FDataImportHandler > > > > > > > > It gives very thorough and useful advice on getting the DIH working. > > > > > > > > Peter > > > > > > > > > > > > > > > > On Fri, Mar 4, 2011 at 6:59 PM, Matias Alonso < > matiasgalo...@gmail.com > > > > >wrote: > > > > > > > > > Hi Peter, > > > > > > > > > > I test with deltaFetch="false", but doesn´t work :( > > > > > I'm using "DataImportHandler Development Console" to index ( > > > > > > > > > http://localhost:8983/solr/mail/admin/dataimport.jsp?handler=/dataimport > > > > ); > > > > > I'm working with "example-DIH". > > > > > > > > > > thks... > > > > > > > > > > > > > > > > > > > > 2011/3/4 Peter Sturge <peter.stu...@gmail.com> > > > > > > > > > > > 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 MailEntityProcessor. > > > > > > > > > > > > > > > > > > > > > > > > On Fri, Mar 4, 2011 at 6:29 PM, Matias Alonso < > > > matiasgalo...@gmail.com > > > > > > >wrote: > > > > > > > > > > > > > <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" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > folders="Recibidos,recibidos,RECIBIDOS,inbox.InBox,INBOX,Mail,MAIL,mail,CORREO,correo,Correo" > > > > > > > includeContent="true" > > > > > > > processAttachments="false" > > > > > > > includeOtherUserFolders="false" > > > > > > > includeSharedFolders="false" > > > > > > > batchSize="100" > > > > > > > processor="MailEntityProcessor" > > > > > > > protocol="imaps" /> > > > > > > > </document> > > > > > > > </dataConfig> > > > > > > > > > > > > > > 2011/3/4 Peter Sturge <peter.stu...@gmail.com> > > > > > > > > > > > > > > > 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.com > > > > > > > > >wrote: > > > > > > > > > > > > > > > > > Thks Peter, > > > > > > > > > > > > > > > > > > Yes, gmail gives me imaps (i understood that). So, I tried > > what > > > > you > > > > > > > > mention > > > > > > > > > but I had get the original mesange I posted. > > > > > > > > > > > > > > > > > > Matias. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2011/3/4 Peter Sturge <peter.stu...@gmail.com> > > > > > > > > > > > > > > > > > > > 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="" > > > > > > > > > > processor="MailEntityProcessor" > > > > > > > > > > protocol="imap" > > > > > > > > > > /> > > > > > > > > > > > > > > > > > > > > HTH > > > > > > > > > > Peter > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Fri, Mar 4, 2011 at 4:42 PM, Gora Mohanty < > > > > g...@mimirtech.com > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >