Index: xapian.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xapian/xapian.module,v
retrieving revision 1.10.2.5
diff -u -p -r1.10.2.5 xapian.module
--- xapian.module	30 Jan 2009 14:24:13 -0000	1.10.2.5
+++ xapian.module	4 Feb 2009 13:16:58 -0000
@@ -762,7 +762,8 @@ function xapian_index_queued_nodes() {
 
   $exclusions = array_values(variable_get('xapian_excluded_nodes', array()));
   while ($node = db_fetch_object($result)) {
-    $node = node_load($node->nid);
+    // We circumvent the static node cache.
+    $node = node_load(array('nid' => $node->nid));
     if ($node) {
       if (in_array($node->type, $exclusions)) {
         // None indexable a node, log and clear it from the queue
