Search settings page never reaches 100% indexed if site notes search indexing is turned off

gpk - June 20, 2009 - 17:07
Project:Site notes
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

This seems to be because in this situation site notes are counted as unindexed by http://api.drupal.org/api/function/node_search/6 ($op = 'status'). Probably sitenotes needs to implement hook_search for $op = 'status' and modify both the 'remaining' and 'total' running totals.

#1

gensuperman - July 30, 2009 - 08:25

Yah, I tried both Site Notes 6.x-1.2 and 6.x-1.x-dev and in Search Settings after re-indexing and running cron the search index always states the following:

"94% of the site has been indexed. There is 1 item left to index."

Now, I have no idea what that 1 item is that is not being indexed, but this occurs if the search indexing is turned on or off for the Site Notes module 1x dev and 1.2x versions for Drupal 6.13.

I would recommend that nobody use this module for Drupal 6.13 until this is patched or fixed, or at least someone explain what is not being indexed properly as this could turn out to be a big bug.

EDIT: After uninstalling, deleting the site notes and folder, and clearing the cache and re-indexing then running cron, it still says 94 percent indexed and will not budge otherwise. The Site Notes, has corrupted the search indexing of the drupal installation. Does anyone have a fix for this issue. I fully recommend steering clear of Site Notes, until this is fixed.

EDIT#2: I had re-installed Site Notes, and enabled the users to be able to view site notes, and then uninstalled site notes, thinking that might fix it. But, that also had no effect to the 94 percent search index bug. I guess somehow it has altered the database or has altered a separate file.

#2

gensuperman - July 30, 2009 - 08:26
Priority:minor» critical

#3

NancyDru - October 20, 2009 - 14:12
Priority:critical» normal

While it may not be working the way you would like, the module is not crashing your site, so this is not critical.

Keep in mind that originally search was totally bypassed on purpose because we didn't want sitenotes to appear to casual users. It was only added at the pleading of other users. IMHO, it still shouldn't be there.

I will look into this soon.

 
 

Drupal is a registered trademark of Dries Buytaert.