I have started a SOLR re-index procedure on a huge Alfresco repository. However the process gets stuck sometimes and I would like to know on which file did it stop. I can't see it in the logs (INFO logging level) or on the SOLR status page.
My question is as follows: is there any way of checking which file is being indexed at the moment?
Ok, I found it myself. I'm posting this for people facing similar problem.
To ask SOLR how is indexing going try this url:
/solr/admin/cores?action=SUMMARY&wt=xml
Most interesting values here are:
<long name="Approx transactions remaining">0</long>
<str name="Approx transaction indexing time remaining">0 Seconds</str>
which tell how much work SOLR thinks it has to do.
To get more information about the status hit:
/solr/admin/cores?action=REPORT&wt=xml
to get <long name="Index error count">
to tell how much documents are not searchable. You can also get what caused this hitting
solr/afts?q=ID:ERROR-*&wt=xml
also if you have more than 50 problematic documents add &rows=
providing number of problematic indexes you want to retrieve.
Note: If it's Alfresco's SOLR then the link goes: solr/alfresco/afts?q=ID:ERROR-*&wt=xml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With