Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have discovered that a few nodes are not appearing in my search index. I have checked the status of my search index via the GUI and drush and found that 7 items out of 3,236 still to be indexed. When I try to index the remaining items, I get a message that the indexing stalled. I have checked one of the nodes that I know for sure to be one of the seven and I don't see any obvious problems with it (like being authored by a user account that has been deleted).
manh8@ded-14785:/var/www/html/manh8.prod/docroot$ drush search-status
There are 7 items out of 3236 still to be indexed.
manh8@ded-14785:/var/www/html/manh8.prod/docroot$ drush search-index
99.78 complete. Remaining items to be indexed: 7 [ok]
99.78 complete. Remaining items to be indexed: 7 [ok]
99.78 complete. Remaining items to be indexed: 7 [ok]
Indexing stalled with 7 items remaining. [error]
The search index has been built.
Drupal 8.1.10
Webserver: Acquia
PHP: 5.6.24
Comments
Comment #2
cilefen CreditAttribution: cilefen commentedLooking at the drush source code, "Indexing stalled" is something drush says when the remaining items don't change after invoking "update_index" three times.
module_invoke_all('update_index');
It's not a Drupal concept as such. That's not an answer, just some more data.
Comment #3
cilefen CreditAttribution: cilefen commentedBut hook_update_index is gone...
Comment #4
cilefen CreditAttribution: cilefen commentedI would start debugging in NodeSearch.
Comment #7
quietone CreditAttribution: quietone as a volunteer commented@goodwillhinton, did you find a solution to this search problem? If so, what did you do? Or, can you provide steps to reproduce the issue (starting from "Install Drupal core")?
Changing status since we need more information to work on this.
Comment #11
borisson_I think it is unclear how to reproduce this and no one else seems to have encountered this issue. Closing this issue