Index: apachesolr.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.admin.inc,v
retrieving revision 1.1.2.6
diff -u -r1.1.2.6 apachesolr.admin.inc
--- apachesolr.admin.inc	28 Jan 2009 13:53:03 -0000	1.1.2.6
+++ apachesolr.admin.inc	13 Feb 2009 13:37:56 -0000
@@ -83,7 +83,9 @@
 
   $output  = '';
   if (isset($data->index->numDocs)) {
-    $output .= '<p>' . t('Number of documents in index: @num', array('@num' => $data->index->numDocs)) . "</p>\n";
+    $pending_docs = $data->index->maxDoc - $data->index->numDocs;
+    $pending_msg = $pending_docs ? t('(@pending_docs sent but not yet indexed)', array('@pending_docs' => $pending_docs)) : '';
+    $output .= '<p>' . t('Number of documents in index: @num @pending', array('@num' => $data->index->numDocs, '@pending' => $pending_msg)) . "</p>\n";
     $output .= '<p>' . t('Number of terms in index: @num', array('@num' => $data->index->numTerms)) . "</p>\n";
   }
 
