| 1 |
<?php |
<?php |
| 2 |
// $Id: xapian.module,v 1.6 2008/06/02 01:37:56 simon Exp $ |
// $Id: xapian.module,v 1.6.2.9 2008/09/24 19:06:37 jeremy Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 797 |
|
|
| 798 |
// Index nodes. |
// Index nodes. |
| 799 |
while ($index = db_fetch_object($result)) { |
while ($index = db_fetch_object($result)) { |
| 800 |
if ($index->nid && $node = node_load($index->nid)) { |
if ($index->nid && $node = node_load($index->nid, NULL, TRUE)) { |
| 801 |
if (_xapian_index_node($node)) { |
if (_xapian_index_node($node)) { |
| 802 |
$indexed++; |
$indexed++; |
| 803 |
} |
} |