summaryrefslogtreecommitdiff
path: root/modules/search/helpers/search_task.php
AgeCommit message (Collapse)Author
2009-08-30Change the processing time for search_task and exif_task to start theBharat Mediratta
1.5 second counter only after we've done any expensive queries. This guarantees at least some time to do work. Fixes ticket #693.
2009-07-19Remove success logging. Only log on errors, otherwise the log is huge.Bharat Mediratta
2009-07-10Fix a bug where the task message was not being setTim Almdal
2009-07-09Revert "Revert "Add task logging to the "Update Search Index" task""Tim Almdal
This reverts commit 5118afc959650469874733a1060fbe22364d8c28.
2009-07-09Revert "Add task logging to the "Update Search Index" task"Tim Almdal
This reverts commit 6ac5238b83d58824eb9327406a2ee50b7e603214.
2009-07-08Add task logging to the "Update Search Index" taskTim Almdal
2009-05-20Avoid complex inserts in available_tasks() to make admin/maintenanceBharat Mediratta
run faster. This fixes ticket #235. Incidentally, refactor exif and search to use the same patterns overall so that if you understand one, you understand the other and they generally use the same strings for localization.
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-10Use a clearer query syntax for deleting extra search and exif records ↵Bharat Mediratta
(thanks Romain LE DISEZ)
2009-04-21Remove duplicate word from status messageTim Almdal
2009-04-21Make the task iteration duration 1 second instead of 500ms.Bharat Mediratta
2009-04-17Make the update_index task continue until it has used half a secondBharat Mediratta
before stopping. This is *way* more efficient than just doing 2 per request.
2009-03-26Gracefully deal with the case where we resume a stalled task but thereBharat Mediratta
was no work left to be done. This fixes a divide by zero error.
2009-03-09Get rid of Task_Definition types: they're not necessary. ThisBharat Mediratta
incidentally fixes the the problem that admin/maintenance tasks have been broken.
2009-03-05Avoid using default task types. Require task::get_definitions() toBharat Mediratta
specify a single type and ask for it appropriately in admin_maintenance. Specify a type for every existing task.
2009-02-28Change the pattern to identify tables that need prefix substitution toTim Almdal
mirror the drupal pattern of using braces {}.
2009-02-27This implements table prefix for all the queries in core, user, exif,Tim Almdal
tag, search, comment and notification modules (Ticket #68)
2009-02-12Corrected indentationTim Almdal
2009-02-02Reconcile search_records and items when we list the tasks so that we can ↵Bharat Mediratta
tell if there're any out of date records that need updating
2009-02-02First time running search maintenance task, remove any search_recordsBharat Mediratta
that are missing matching items.
2009-01-18Remove blank line at the top of the fileTim Almdal
2009-01-17Implement relevance ranked boolean searching on a full text index ofBharat Mediratta
item and comment data. Whew! It's not pretty yet. And you have to manually update the index currently in admin/maintenance. But it works.