cancel
Showing results for 
Search instead for 
Did you mean: 

Documents pending to be indexed in Solr

adit_patel
Confirmed Champ
Confirmed Champ
I am using Solr on Alfresco 4.1.6 Enterprise. I want to know if there is a way to know how many documents are still pending to be indexed by Solr

I ran https://localhost:8443/solr/admin/cores?action=REPORT&wt=xml but I am not sure how to determine the documents pending to be indexed by Solr

Please help me figure it out. Below is the report output
Thanks!


<response>
   <lst name="responseHeader">
      <int name="status">0</int>
      <int name="QTime">378167</int>
   </lst>
   <lst name="report">
      <lst name="alfresco">
         <long name="DB transaction count">1162575</long>
         <long name="DB acl transaction count">15277</long>
         <long name="Count of duplicated transactions in the index">0</long>
         <long name="Count of duplicated acl transactions in the index">0</long>
         <long name="Count of transactions in the index but not the DB">307</long>
         <long name="First transaction in the index but not the DB">55409</long>
         <long name="Count of acl transactions in the index but not the DB">0</long>
         <long name="Count of missing transactions from the Index">313103</long>
         <long name="First transaction missing from the Index">6411706</long>
         <long name="Count of missing acl transactions from the Index">4</long>
         <long name="First acl transaction missing from the Index">2802218</long>
         <long name="Index transaction count">849779</long>
         <long name="Index acl transaction count">15273</long>
         <long name="Index unique transaction count">849779</long>
         <long name="Index unique acl transaction count">15273</long>
         <long name="Index leaf count">3061402</long>
         <long name="Count of duplicate leaves in the index">0</long>
         <long name="Index aux count">3061402</long>
         <long name="Count of duplicate aux docs in the index">0</long>
         <long name="Index error count">52</long>
         <long name="Count of duplicate error docs in the index">0</long>
         <long name="Index unindexed count">0</long>
         <long name="Count of duplicate unindexed docs in the index">0</long>
         <long name="Last index commit time">1372447784414</long>
         <str name="Last Index commit date">2013-06-28T14:29:44</str>
         <long name="Last TX id before holes">-1</long>
      </lst>
      <lst name="archive">
         <long name="DB transaction count">1162575</long>
         <long name="DB acl transaction count">15277</long>
         <long name="Count of duplicated transactions in the index">0</long>
         <long name="Count of duplicated acl transactions in the index">0</long>
         <long name="Count of transactions in the index but not the DB">2558</long>
         <long name="First transaction in the index but not the DB">55409</long>
         <long name="Count of acl transactions in the index but not the DB">0</long>
         <long name="Count of missing transactions from the Index">0</long>
         <long name="Count of missing acl transactions from the Index">0</long>
         <long name="Index transaction count">1165133</long>
         <long name="Index acl transaction count">15277</long>
         <long name="Index unique transaction count">1165133</long>
         <long name="Index unique acl transaction count">15277</long>
         <long name="Index leaf count">220045</long>
         <long name="Count of duplicate leaves in the index">0</long>
         <long name="Index aux count">220045</long>
         <long name="Count of duplicate aux docs in the index">0</long>
         <long name="Index error count">5</long>
         <long name="Count of duplicate error docs in the index">0</long>
         <long name="Index unindexed count">0</long>
         <long name="Count of duplicate unindexed docs in the index">0</long>
         <long name="Last index commit time">1382710328680</long>
         <str name="Last Index commit date">2013-10-25T09:12:08</str>
         <long name="Last TX id before holes">7131502</long>
      </lst>
   </lst>
</response>
2 REPLIES 2

parzgnat
Star Contributor
Star Contributor
Try going to
https://localhost:8443/solr/admin/cores?action=SUMMARY
and look for "Approx transactions remaning".

How can we know documents pending instead of transactions?